Java Industry News
A Brief Overview of Java EE 6
One tip - don't leave home without a projector
Sep. 11, 2008 12:45 PM
Yesterday, weâve had a meeting at Princeton JUG â Reza Rahman has been giving a sneak preview of JEE 6 . The meeting started with a little surprise â the projector in the place we meet has not been working. Man, I have my own projector at homeâ¦which is 25 minutes away. No biggies. People were determined to find out whatâs going on with JEE 6, especially when we have such a presenter â Reza is the author of the book âEJB 3 in Actionâ and a member of the Java EE 6 and EJB 3.1 expert groups.
Actually, who needs the projector? A 15 inch monitor was adequate.

Everyone has really enjoyed the presentation. The thing is that during the last several years JEE became a stable and mature but not too exciting environment. People routinely were bashing JEE for not being cool and a number of Java developers defected to Spring trying to get high. But JEE6 looks really interesting to me and other people who attended yesterdayâs meeting seem to like it too. They were asking literally dozens of questions, which does not happen that often.
These are some of the features that Iâd like to highlight and briefly commented
1. Pruning â removing of dead wood from the code (JAX-RPC, EJB 2.x Entity beans CMP)
2. Profiles â JEE 6 will offer three profiles (will be packaged in three ways). The Minimal profile is basically a Servlet container. The Intermediate profile adds EJB 3.1, WebBeans , JTA and JPA, and the full profile adds JMS, JCA, and a bunch of JAXâes.
Iâd re-packaged the Minimal profile to include JMS and transaction management. Give me a Servlet container, JOTM and MOM, and Iâll turn the world upside down. Lots of enterprise applications can be build just by using such products/APIs.
WebBeans (JSR 299) unifies JSF, JPA and EJB 3. It introduces Conversations (circumcised sessions), dependency injections, and annotation meta-programming.
3. There are some efforts to revitalize JSF(convention over configuration, REST and AJAX support), but Iâm a little skeptical about this technology. We live in the era of RIA, and I would remove JSF from the JEE spec. Just concentrate on JavaFX, will you?
4. EJB 3.1 will become simpler (havenât we heard this already? ). Interesting development here is an introduction of a Singleton Bean as a global repository for your application, cron-style declarative and programmatic timers, Java SE support (think about it â you can create a server container on the fly right in your desktop application), EJB Lite.
5.Java Persistence API gets Bean validation (JSR 303) that will let you validate data at various level. I hope there will be a way to selectively turn this validation on or off.
6.Servlet 3.0 (JSR 3.0) is something that Iâm watching closely because of its huge scalability potential. Use of non-blocking I/O and asynchronous processing (suspending and resuming of queries) will dramatically increase the number of supported concurrent users . The open source Jetty already offers Servlet 3.0 implementation, and commercial vendors will implement it too. A servlet turns into an annotated POJO.
7.And finally, JEE 6 will offer Web Service support with the ReEST using JAX-RS API.
In my opinion, itâs a good set and you are welcome to send your suggestions to the people in charge of JEE 6 at jsr-316-comments at jcp.org.
So speak up, attend you local Java Users Group, and most importantly, donât leave home without a projector.
About Yakov FainYakov Fain is a managing principal of Farata Systems, consulting, training and product company. He has authored several Java books, dozens of technical articles. SYS-CON Books released his latest co-authored book , "Rich Internet Applications with Adobe Flex and Java: Secrets of the Masters" in Spring 2007. Sun Microsystems has nominated and awarded Yakov with the title Java Champion. He leads the Princeton Java Users Group. He is an Adobe Certified Flex Instructor. Currently Yakov works on the book for O'Reilly "Enterprise Application Development with Flex".