Selecting a Java Code Generator – update 2

Last week I wrote a short article about selecting a Java code generator.

So far I have not had much luck:

  • I’m still disappointed with the Netbeans 5.5 daily builds (last I tried was NetBeans IDE 5.5 daily build 200605050500). This has the most promise, but is still full of bugs and I haven;t been able to get the ‘JSF pages from Entities’ generator to work or deploy successfully to JBoss4.04RC1. The annoying thing so far is when you create a new ENterprise app, if you create Entities in the EJB project, the web project cannot see the Entities and you get no-where with the wizard. If you create the Entities in your Web project then the wizard works, but the JSF pages generated are still not compatible with JBoss 4.0.4 (despite having created defects on the Netbeans site and have them supposedly resolved).
  • The JAG generator gave NullPointerExceptions importing my XMI exported UML model from Poseidon CE1.6.1 UML designer, so no luch there either.

Next is to go back to Eclipse with with JBoss IDE plugin, and use the Hibernate Tools option to generate a CRUD app skeleton for their JSF/Seam Framework… I haven’t been able to work this out yet without digging into the docs, so time to install the latest versions, browse through the docs and give it another go… by the way, here’s a link for a complete walk-through using the Hibernate Tools:

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.