Run a JBoss Forge “Hands-on-Lab” at Your Local User Group

For Devoxx Belgium 2014 I had the opportunity to run a 3 hours hands-on-lab on Java EE with JBoss Forge. The idea was to get people up and running with JBoss Forge by 1) installing Forge (CLI and JBDS), 2) playing with it and 3) developing an entire Java EE application and extend it by writing a JBoss Forge add-on. The trick with a hands-on-lab is you can end-up with … Continue reading Run a JBoss Forge “Hands-on-Lab” at Your Local User Group

I Would Like Better AppServer Support in Intellij IDEA

Believe it or not, but I’ve been using Intellij IDEA for more than 10 years (I think it was back in 2003) and I love it ! Because of that, at each conference I go, I usually pay a visit to the JetBrains booth and chat with the guys. Mostly to tell them how good their products are, but also to give them some ideas about possible … Continue reading I Would Like Better AppServer Support in Intellij IDEA

Your tests assume that JBoss is up and running

As a Java EE developer I tend to mix unit tests with integrations tests, usually using Arquillian. But sometimes, for obscure reasons, Arquillian cannot do the job (let’s say the packaging of the application to test is too obscur). So I want to deploy my application, and then, execute some tests. But what I really want is my tests to be executed if and only if the … Continue reading Your tests assume that JBoss is up and running

Switching Datasource with CDI Alternatives and Stereotypes

Here we are, using H2 in our test environment, Derby in development and Postgres in production. It’s 2014, and Java EE still doesn’t have a decent configuration specification… So how do we change datasources in Java EE depending on our environment ? There are several possibilities (from external property files, Maven resource filtering, Maven profiles with different configuration or JNDI tricks) but this post will only concentrate on … Continue reading Switching Datasource with CDI Alternatives and Stereotypes

On-line Courses I Created for PluralSight

I am the author of several Java EE courses for Pluralsight. Plurasight has been around for more than 10 years, and has an impressive catalog of courses, several on Java and Java EE. Each course is made of slides, demos and you will have the pleasure to listen to my voice ;o)  No video of the speaker, but many screen recording for the demos.  Each course is … Continue reading On-line Courses I Created for PluralSight

Java EE 7 and JBoss Forge in Lille (FR) and London (UK)

Since the publication of my Java EE 7 book, my JavaOne and Devoxx Belgium talks (that you can find on Parleys), I’ve been quiet. But my 2014 new year’s resolution is to travel a few JUGs and conferences to spread the Java EE 7 word…. and I’m starting tomorrow! So if you want to know more about Java EE 7 and see a live demo … Continue reading Java EE 7 and JBoss Forge in Lille (FR) and London (UK)

Java EE 7 JavaDoc on Dash

I’ve recently discovered Dash. It’s an API documentation browser which gives you offline access to 130+ API documentation sets. So once it’s installed, you can download the docsets you want and here you are with a single tool for all your documentation. I’ve installed all the docsets I needeed (Javadoc, SQL documentation, Man, Boostrap 3, HTML 5, CSS…) and I find myself using it more and … Continue reading Java EE 7 JavaDoc on Dash

“Oh Lord, won’t you buy me a Mercedes Benz” (or RIP GlassFish)

Disclaimer : I am a former BEA employee, former Weblogic consultant, author of three books based on GlassFish and use JBoss extensively. Today I’m self-employed and therefore do not belong to any company. On the 4th of November 2013, Oracle announced the roadmap of GlassFish. It talks about version “4.1 scheduled for 2014“, alignment with Java EE 8 and so on… but the most important news … Continue reading “Oh Lord, won’t you buy me a Mercedes Benz” (or RIP GlassFish)

Several Architectural Styles with Java EE 7

If you are like me, in your career you came across Architects who want to homogenize every single application in the company : from the smallest web app to the biggest application. All projects have to conform to the 542 pages In-house Architectural Guide and develop a 6 tier application (it could be 5, 6, 7 or 8 tiers, look like architects are paid by … Continue reading Several Architectural Styles with Java EE 7

Beginning Java EE 7… Book Arrived !

Update : the book has been published end of June 2013 I have been quiet on my blog lately but there was a reason: I was writing a Beginning Java EE 7 book for APress. I am using the past tense because I’ve finished writing it. I’ve gently started in November 2012 and accelerated the writing pace as I was following the updates of the specifications and reaching the Java … Continue reading Beginning Java EE 7… Book Arrived !

Test your JAX-RS 2.0 Web Service URIs… Without Mocks

After the announcement of the NoMock Movement I had to write another post about integration testing. Here it goes  : how to test your nice RESTful URIs ? Use Case Often you hear that URIs have to be expressive… and you want to test that your URIs are nicely written. How do you do that ? Unit testing with mock frameworks such as Restito or … Continue reading Test your JAX-RS 2.0 Web Service URIs… Without Mocks

Let’s Turn Integration Tests with Maven to a First-Class Citizen

I would like to thank Arnaud Heritier who gave me plenty of tips and advices to write this blog. In fact if you want to endorse someone on Maven in LinkedIn, he is the man, not me ;o) If you use Maven in your projects you might wonder what “Let’s Turn Integration Tests with Maven into a First-Class Citizen” means. A bit of introduction on that. … Continue reading Let’s Turn Integration Tests with Maven to a First-Class Citizen

I’ve been awarded one of 100th people who will move IT forward in France for 2013

Sometimes life is about surprises. The other day I received an email from a friend saying “hey, congratulation, you’ve been awarded one of 100th people who will move IT forward in 2013“. Of course, I didn’t understand his email and didn’t reply. A few days later I received a more official email from the French IT magazine 01 Informatique who said the same thing. Attached to … Continue reading I’ve been awarded one of 100th people who will move IT forward in France for 2013

So now I am a NightHacker ;o)

Stephen Chin had this crazy idea of touring Europe on its way to Devoxx, and interview people. He called it the “Hacking Tour – The Road to Devoxx“. On his way from Italy he crossed France, stopped over to interview several people and then he arrived in Paris to interview me as well as the Parisian Java community (Paris JUG, JDuchess, Code Story). Unfortunately, everything … Continue reading So now I am a NightHacker ;o)

No, you don’t need to mock your SOAP Web Service to test it

A short blog about a topic I was discussing last week with a customer: testing SOAP Web Services. If you follow my blog you would know by now that I’m not a fan of unit testing in MOCK environments. Not because I don’t like it or I have religious believes that don’t allow me to use JUnit and Mockito. It’s just because with the work I do (mostly … Continue reading No, you don’t need to mock your SOAP Web Service to test it

I need you for Logging API Spec Lead !

If you are interested by Java EE development and roadmap you might have read recently that the Cloud feature in Java EE 7 has been delayed. As I’ve already expressed in the Java EE 7 expert group mailing list, I’m happy about this news because I feel standardizing cloud in EE 7 was way too early. But I’m also sad. Sad because we’ve spent a lot of … Continue reading I need you for Logging API Spec Lead !

How to get the JPQL/SQL String From a CriteriaQuery in JPA ?

I.T. is full of complex things that should (and sometimes could) be simple. Getting the JQPL/SQL String representation for a JPA 2.0 CriteriaQuery is one of them. By now you all know the JPA 2.0 Criteria API : a type safe way to write a JQPL query. This API is clever in the way that you don’t use Strings to build your query, but is quite … Continue reading How to get the JPQL/SQL String From a CriteriaQuery in JPA ?