The one thing I hate the most is wasting time in administrative tasks. When you have a company, deal with customers, invoice, pay taxes, sign contracts, etc. you end up spending a lot of time doing admin instead of your real work. What do you do? Well, you don’t have the choice. At the beginning it’s so scary, that you print paper, sign it with a pen, scan it, send it via email, or worth, via post, and do it again and again…. until you go “Ok, let’s automate these boring tasks with code!“.
Une fois n’est pas coutume, je blogue en français.
Après avoir travaillé en SSII, travaillé pour un éditeur, pas travaillé (et oui, faut bien faire une pause de temps en temps), travaillé en SCOP, travaillé en tant qu’indépendant… il était temps de travailler autrement. Je vous présente donc ma nouvelle aventure : AllCraft.
Qu’est-ce qu’AllCraft ? Une société qui fabrique des logiciels d
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 invoked directly, and methods that can be invoked only if the caller is authenticated. There are several ways to authenticate, a
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 Servers today, you can watch my talk in English, in French, download the slides or play with the code using WildFly Swarm. Talk in
The developers’ world is a mixture of evolutions and reinventing the wheel. When I was doing EJBs 1.0 back in 1998, I was doing Micro Services. But I had to wait 2014 for someone to give it a name, and 2016 to see it officially arriving in Enterprise Java. So here we are: a Micro Profile has been announced for Enterprise Java. What? A Micro Profile!
For those of you who have followed Java EE, you might remember that Java EE 6 arrived with this new definition of Profiles
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 been waiting so long to publish this blog (which is the successor of the same post on Java EE 6 app
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 at 6:30pm. This is mostly an hands-on talk, only few slides, so you’ll see JBoss Forge in action. Thanks to Alexander Culum for organizing it and C
If you are interested in JBoss Forge, you should check out this 50 minutes talk I gave at Devoxx UK. You can also get the slides and the code. Talk in English Slides 50 new features of Java EE 7 in 50 minutes from Antonio Goncalves
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 do: “returns a textually representation of an object and it should be a concise but informative repr
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 2015). This article covers Interceptors, InterceptorBinding, or