EJB 3, JPA and Netbeans 5.5 vs. Dali - first impression

After trying out the Visual WebPack (it is really amazing, but a little bit proprietary), I was curious about the Netbeans EJB 3 and especially JPA support. My conclusion is:

  1. The Netbeans 5.5 support for Java EE 5, especially Servlets, JSPs, Filters etc is really good. I like especially the "lean" support without multipage wizards. You can edit the web.xml in XML editor or use a visual, but pragmatic, editor. Servlet/JSP deployment, debugging works very good. The HTTP-Monitor is nice for debugging purposes.
  2. I tried the deployment with Glassfish V2 and JBoss. Both servers worked great.
  3. The support for EJB 3 Session Beans is also great. Especially the synchronization between the methods in a SessionBean class and the Remote/Local interface works good as well as deployment, debugging and testing. What I really like: I didn't found (until now) any proprietary extensions - the EJB 3 code remains clean.
  4. The JPA support is very good. You can generate a JPA-Entity from an existing database with all relations. Or, even better, you can develop an entity and map it to an existing table afterwards. NetBeans checks the column mapping / table mapping for you. With strg+space NB suggests the column and table names. It is similar to Eclipse's Dali but is more stable and worked well without any inconsistencies (Dali has still some issues regarding the generation of DDL and code-completion).
  5. The database-exlorer is very useful, especially during the development and testing the JPA layer.
  6. The Server-View is also useful - deployed WARs and EARs with contents are visible.
I started an "experiment" and introduced Netbeans 5.5 to (six) Eclipse-developers during a Java EE 5 patterns training. They installed NB 5.5 with Visual WebPack and decided to use Netbeans for the training. Every participant of the course was able to develop a JSF, Session Bean, JPA entity and deploy it on a server (we used Glassfish and JBoss with EJB 3 support).
You should at least try NetBeans 5.5. together with Glassfish at the beginning of every Java EE 5 Project.


Since 5.5 has released while V2 is still under development, folks may want to use NetBeans 5.5.1.

Go to the NetBeans.org web site to find out more

Posted by vince kraemer on January 12, 2007 at 08:45 PM CET #

Post a Comment:
  • HTML Syntax: NOT allowed
...the last 150 posts
...the last 10 comments