Rapid Seam Development with NetBeans
NetBeans is my choice of IDE and JBoss Seam is my choice of application framework. It is a shame that those two do not integrate well. Well, that is, UNTIL NOW! I have just added NetBeans support to Seam Gen — the RoR like command line application skeleton generation tool for Seam (yes, it also generates entity objects from existing DB tables). By answering a few questions on the command line, you can generate a skeleton Seam project with all the necessarily configuration files, source directories, build script, and best of all, IDE integration. The generated Seam project can be opened in both Eclipse and NetBeans, with support for the rapid “edit/save/refresh browser” workflow people seem to crave for … I will cover Seam Gen in detail in the book. But here is what to expect in the NetBeans environment:
Below is what the generated project looks like in NetBeans. The left is the overall structure. You can click on any file to edit — with syntax highlighting, compiler/schema checking, and other NetBeans editor goodies. The right is an expenaded view of the classes in the project.

Right click on the project, you can build it and deploy it (Seam Gen already asked for your JBoss AS home when setting up the project). Now, here is the cool part: When the application is running, you can make changes to any file (Java classes, XHTML pages, or configuration files) and click on the “restart” menu. The changed files are automatically pushed to the server and you can simply refresh your browser to see the change. Is niiiice!

PS. Sun’s Brian Leonard has a series of blog posts on NetBeans and Seam. His setup is more complex but it does not depend on Seam Gen and provides tighter App Server integration.
November 20th, 2006 at 3:40 am
Hi Michael,
it’s a good notice to know that you’re going to explain in the book how to develop Seam applications with Eclipse and with NetBeans.
In other way, I apreciate a lot the new features of Seam Gen.
Thank you very much and keep the good job.
December 13th, 2006 at 9:06 pm
[...] JBoss Seam 1.1 正式发布. JBoss Seam 是一个功能强大的开发下一代 Web 2.0 应用的程序框架,支持并集成了 Asynchronous JavaScript and XML (AJAX), Java Server Faces (JSF), Enterprise Java Beans (EJB3), Java Portlets and Business Process Management (BPM)等技术. JBoss Seam 1.1 包含以下主要特性: * Seam 1.1 provides a RoR-like application generator called Seam Gen. It generates complete Seam projects, with all necessarily configuration files and build scripts. So, you can get started with Seam in no time. Better yet, the generated projects can be opened directly in NetBeans and Eclipse with the build / deploy process fully integrated into the IDE. [...]
March 2nd, 2007 at 4:33 pm
Congratulations on your NetBeans support to Seam Gen. Keep up the good work!!!