Skip to content

Configuring A Quarkus Application With Profiles

This blog post follows the first one I wrote about Configuring A Quarkus Application. So, if you want to know how to configure a Quarkus application using a Unified Configuration (application.properties file), Microprofile Config or system properties, please refer to this previous post. In this blog post I will show you how to use Profiles in Quarkus. Use Case I’ll […]

Read More →

Configuring A Quarkus Application

In this blog post I’ll show you how to configure a Quarkus application using the specific application.properties file as well as the Microprofile Config API (check my other post for configuring with profiles). To break it into more details you will learn: How to configure a Quarkus application and have separate values for development and test How to use Microprofile […]

Read More →

Welcome My Fascicle on JPA

Last year I’ve published a fascicle on Bean Validation. It was time to publish the one on JPA. In a previous blog post I explained the entire writing process and why I had this idea of writing small fascicles. Make sure to read it if you want more details. But basically, the idea behind these fascicles comes from my previous […]

Read More →

JHipster, Angular, PrimeNG and AutoComplete

JHipster is a great way to bootstrap your application. Your app can be a monolith or be split into several microservices, use JWT or OAuth2, packaged with Docker, deployed on a cloud provider… JHipster is there to handle the heavy technical complexity. Great ! But… when it comes to choosing an item from a combobox, JHipster is not that great. […]

Read More →

Angular Libraries and Microservices

We live in a Microservices world, and this world is there to stay. Back-end developers need to dive into Domain Driven Design, write stateless, resilient, highly available services, keep data synchronized through Change Data Capture, handle network failure, deal with authentication, authorization, JWT… and expose a beautiful Hypermedia API so the front-end developers can add a great user interface to it. Good ! […]

Read More →

Java EE vs Spring Testing

I’ve recently posted a Tweet about my day to day life. This Tweet said “I’ve reached a point where I can test Spring code in a couple of minutes, and Java EE code in a couple of hours :o(“ I was a bit surprised to read some reactions. In fact, some people asked me to explain this Tweet a bit […]

Read More →

Configuring the AsciiDoctor Maven Plugin

AsciiDoc is a great way to write technical documentation. It is text based, can be committed and versionned in your VSC with your project, has a rich syntax, has a huge ecosystem, integrates with several tools (such as PlantUML that I love) and, if there is still something missing, you can use extensions or create your own. And if you […]

Read More →

Talks I Gave at Conferences and Meetups

Here is the list of talks I gave at conferences and meetups (and I try to keep this list up to date): 2018-04 – Baking A Microservice PI(e) (with Roberto Cortez) – Devoxx UK (London, UK) 2017-11 – Baking A Microservice PI(e) (with Roberto Cortez) – Devoxx (Antwerp, Belgium) 2017-05 – The PluraSight Experience (with Koffi Sessi) – Devoxx UK (London, UK) 2017-04 […]

Read More →

AllCraft : Ma Nouvelle Aventure

Update: après plusieurs mois de tractations, de contacts et de rencontres, nous nous rendons compte que le modèle AllCraft n’est pas encore viable. Nous mettons donc la société en pause en espérant reprendre de plus bel, lorsque le marché sera plus mature. Une fois n’est pas coutume, je blogue en français. Après avoir travaillé en SSII, travaillé pour un éditeur, […]

Read More →

Securing JAX-RS Endpoints with JWT

In this blog post I’ll show you how to use the JJWT library to issue and verify JSon Web Tokens with JAX-RS endpoints. The idea is to allow an invocation when no token is needed, but also, be able to reject an invocation when a JWT token is explicitly needed. Let’s say we have a REST Endpoint with several methods: methods that can be […]

Read More →

Just Enough App Server with WildFly Swarm

Application Servers have changed a lot: consuming less memory, being faster at startup time… Now it’s time to change the way we package our applications: from Ears, to Wars, and now to executable Jars. This is what I explained in this “Just Enough App Server” talk I gave at few conferences lately. So if you want to know more about Application […]

Read More →

O Java EE 7 Application Servers, Where Art Thou?

Updated Thanks for your comments. I’ve added Undertow to the test ( “Servlet-Only Distribution” on the WildFly download page), corrected some mistakes, but more important, I’ve changed the memory benchmark: I now take a memory usage measure at startup, I then perform GC and wait a bit for memory to stabilize. This gives a nice min and max memory usage. Damn, I’ve […]

Read More →

CDI and Forge Talks in Europe and Morocco

Are you going to JavaOne? Well I’m not! But instead I’ll be doing some talks in October and November in Europe and Morocco. Four years ago I toured central Europe giving CDI talks. Next week I’ll start another tour with CDI and Forge talks. Here is my schedule : Tuesday 20th of October – JUG Frankfurt (Map) : Talk on JBoss Forge […]

Read More →

Who Cares About toString Performance?

Who cares about toString performance? Nobody! Except when you have huge amount of data being processed in a batch that does plenty of logging using toString . Then, you investigate why it’s slow, realize that the toString method is mostly implemented using introspection and can be optimized. But first, let’s have a look at the Javadoc to remember what a Object.toString should […]

Read More →

Four CDI Articles in the Java Magazine

If you want to learn about CDI you can read the 4 articles I wrote in the Java Magazine : Part I : Using strong typing in dependency injection (May/June 2015). This article covers basic dependency injection with CDI, @Inject, Qualifiers and Alternatives. Part II : Integrating third-party frameworks (July/August 2015). Covers Producers, InjectionPoint API and Diposers Part III : Loose coupling (September/October […]

Read More →

Buzz Word Bingo 2015

For my next talk I need a slide with dozens of technical buzzwords. Working in the IT industry, I am, and deal, with fashion victims (i.e. the best language/framework/tool/law is 6 months old). But because I couldn’t find more than 12/15 buzzwords, I’ve asked Twitter some help, and manage to reach more than 50 buzzwords. Thanks to the Tweetosphere ! Here are […]

Read More →

A Full CDI 1.1 Course on Pluralsight

I’m happy to announce that my course on CDI 1.1 has been published on PluralSight. This 3:40 hours long course is divided in several modules : Introduction (17:48) : Why do we need dependency injection in our applications, how do we usually do it, how can CDI help us Understanding Context and Dependency Injection (20:24) : Get the basis of […]

Read More →

Generating Database Schemas with JPA 2.1

Prior JPA 2.1, most JPA providers (Hibernate, EclipseLink, OpenJPA) would have a proprietary way to generate the database schema (Data Definition Language scripts) from Entities. In the JPA 2.1 specification (JSR 338) there is a new section called 9.4 Schema Generation introducing an API and some properties to generate a database schema in a standard and portable way. Properties in persistence.xml In the […]

Read More →