NetBeans IDE 5.5 Beta 2: Complete Java EE 5 Bag of Tricks for JBoss Users
By Geertjan-Oracle on Aug 07, 2006
Mostly you're generating specification-compliant code, which needs to be customized in a few places to tailor it to the tutorial application. At the end of the day, there's hardly a Java EE 5 artifact (other than JAX-WS) that you haven't dealt with. As stated, I had a pretty hard time getting it all to work for JBoss 4.0.4. But not to worry when you've got great colleagues like Brian Leonard, who seems to have flown through the tutorial, made some minor-looking tweaks for JBoss and delivered a colorful and intriguing application, with this content:
Maybe you'd like to try this sample yourself? Requirements are that you've got NetBeans IDE 5.5 Beta 2 and JBoss Application Server 4.0.4. Comments at this stage are more than welcome, since the tutorial is being worked on and feedback can still be integrated. Download the sample here, install it, and then find it in the New Project wizard's Samples/Enterprise category. The project's name is "News App". When you get that application from the wizard, resolve the reference in the web application by attaching the EJB module project to the web application's Libraries node. That's it. And then the application should build and run and you should see the servlet display its HTML in the browser. Fill in a title and a body and click the button and you'll see the result.
Here's the application:
Have fun with it (and learn from it, if you're interested in Java EE 5) and remember that feedback is welcome.