I’m sure you’ve all heard that assigning a variable to null helps the Garbage Collector, or not declaring a method final improves in lining…. But what you also know is that JVMs have evolved drastically and what was true yesterday may not be true today. So, how do we know that our code performs? Well, we don’t, because … Continue reading
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. … Continue reading
Very often, when talking/training/sharing about Java EE, I get the same question: What about clustering in Java EE? The answer is: nothing, rien, nada, ezer, nista, niets! There is nothing about clustering (failover, load-balancing…) in JavaEE. And to prove it, I’ve looked for the word “cluster” in the 4.171 pages of the 19 more important Java EE … Continue reading
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. … Continue reading
Let’s start with a definition of Censorship: Censorship is the suppression of speech or other public communication which may be considered objectionable, harmful, sensitive, or inconvenient as determined by a government, media outlet, or other controlling body. As you might be aware if you follow this blog, I wrote a third book entitled Java EE 7. A … Continue reading
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 … Continue reading
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 … Continue reading
In the last years, at every single Java EE BOF, Java EE round table, or even on the Java EE Expert Group mailing list, I’ve complained about Java EE not having a decent visual. How can you brand such technology if you don’t have a proper symbol ? How can you print t-shirts, mugs, beautify … Continue reading
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 … Continue reading
At Devoxx France 2014 I had a Tools in Action of 30 minutes on JBoss Forge…. in French. So, excuse my French… but if you understand the language, you can watch this video on Parleys.
I’ve been quiet in this blog because of lack of time. One task that has consumed a lot of time is that I’ve started creating Java EE 7 courses for Pluralsight. I’ve been approached by Plurasight a few months ago and met them at JavaOne. They have been around for 10 years, have an impressive catalog of courses, but because of their .Net background, they don’t have many courses on Java nor on Java EE.
So here is a first batch of Java EE 7 courses I’ve created on their platform :
Each course is made of slides 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 made of several modules, several clips, and you get to answer a few questions at the end of each module
My plans are to add more content to the library, so hopefully you will see somes courses about Context & Dependency Injection 1.1, Java Messaging Service 2.0, Java Server Faces 2.2, Java EE 7 itself, and an overall one about how to develop an entire Java EE application.
So I hope you will enjoy taking the courses (not free I’m afraid ;o) and do not hesitate to give me some feedback.
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 … Continue reading
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 … Continue reading
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 … Continue reading
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, … Continue reading
Last time I was at JavaOne, the conference was organized by a company called Sun Microsystems, at a unique location (Moscone Center) and most of my friends were wearing a blue t-shirt. I was very excited, it was my first JavaOne and I was giving a few talks about the JCP. I met dozens of … Continue reading
Back in 2011 I wrote a blog post about what I wanted to have in Java EE 7. Java EE 7 has been released, some of my Java EE 7 wishes have been fulfilled (Flow management and Batch processing), books have started to be published, and now it’s time to start thinking of Java EE 8. … Continue reading
With Java EE 7 being released I thought it was time to update the Monster Component ! A few years ago Ludovic Champenois had this idea of adding as many Java EE annotations as possible to a Java class. It was then used by Alexis Moussine Pouchkine on his Java EE seminars. It was time … Continue reading
As you might know by now, Java EE 7 will be released in a few days. There are many new features and I will not cover these novelties now. I just want to mention that most of the XML deployment descriptor namespaces have been updated. Nothing that will change your life as a developer, but … Continue reading
Java EE 7
This book is a major update of the Beginning Java EE 6. All the chapters of existing specifications have been updated and two new chapters have been added (CDI and Bean Validation). This book starts by introducing Java EE 7 and some new language features of Java SE 7. Then follows 14 chapters introducing a technology (CDI 1.1, Bean Validation 1.1, JPA 2.1, EJB 3.2, JSF 2.2, XML and JSON processing, JMS 2.0, JAX-WS 2.3 and JAX-RS 2.0). Each chapter is illustrated with lots of code and UML diagrams and finishes with a Putting it all Together section, where you combine several Java EE 7 technologies to compose and application.
More about the book
Java EE 6
This book concentrates on Java EE 6 and highlights the new features of this release. It explores the innovations of this new version, and examines the various specifications and how to assemble them to develop applications. Java EE 6 consists of nearly 30 specifications and is an important milestone for the enterprise layer (EJB 3.1, JPA 2.0), for the web tier (Servlet 3.0, JSF 2.0), and for interoperability (SOAP web services and RESTful services). This book covers a broad part of the Java EE 6 specifications and uses the JDK 1.6 and some well-known design patterns, as well as the GlassFish application server, the Derby database, JUnit, and Maven. It is abundantly illustrated with UML diagrams, Java code, and screenshots.
More about the book
Java EE 5
The Java EE 5 book I’ve written is a practical book that tells you how to develop a e-commerce website using most of the Java EE 5 specifications. I uses a PetStore-like application to introduce EJB 3, JPA 1.0, JSF 1.2, JSP 2.1 and JMS. It’s written in French and is published by Eyrolles. To know more about it, click on the prefered language.
More about the book
En savoir plus
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 … Continue reading
This post is not about Java, Java EE or even IT. It is about the state of our world or, to shrink it a bit, the state of advertisement, business… and women (I had blogged about something similar a few years ago) A few days ago a friend of mine who was skiing at La … Continue reading
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 … Continue reading
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 … Continue reading
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 … Continue reading