|
|
|
|
|
Wouter is on a roll with yet another fine article, this time on Seam, Maven, NetBeans and GlassFish. Previous articles include: • Building Enterprise Applications for GlassFish using Netbeans 6.0 (Beta 2) and Maven2 • Deploying to GlassFish using Maven2 • Combining Hibernate and Facelets with Maven, Netbeans and GlassFish |
|
The Seam framework has previously been reported as running just fine on the GlassFish application server (in this blog by Roger Kitain for instance). In fact, JBoss clearly indicates GlassFish as a supported platform. The most recent article on that topic by Brian Leonard has inspired Carol McDonald to write about a "Sample Application using JSF, Seam, and Java Persistence APIs on Glassfish". |
Carol's article has detailed steps for setup and coding with nice coloring to distinguish between Java EE, Seam and business classes/interfaces and annotations. It uses GlassFish 1 (but also works on the recently released glassfish 2 beta 3) and Seam 1.2.1 GA. You can start with the application archive which is provided as a NetBeans project and usable via ANT directly (including database creation and population) or follow the steps to create your own application from scratch.
|
Michael Yuan, a Technology Evangelist for JBoss, has a list of tips on how to Use JBoss and Seam. The tips are pretty simple, and at least one of them is no longer necessary (see the comment on logging), but what caught my attention was the beginning: ...Glassfish -- ... it is probably the third most popular platform for Seam apps behind JBoss AS and Tomcat |
|
What about this for a catchy title for a blog: Spring and GlassFish VS Seam and JBoss... The answer is that GlassFish is happy to work with both the Spring and the Hibernate and JBoss Seam communities. Sorry, no duels not to the Death, ... and neither to the Pain!. |
|
JBoss Seam has worked on GlassFish since 1.0.1 (original blog, update) but with some "TLC needed". Roger reports that the latest release (Seam 1.1.0GA) provides very solid support under both V1 UR1p1 and V2 b30 using Derby. Check Roger's Blog for detailed instructions and further links. |
We've covered Roger Kitain's previous work in getting Seam to run on Glasfish (here and here). In his latest blog, Roger explains how recent changes in Seam 1.0.1 GA and JBoss make Seam more portable and consequently even more straightforward to get running on GlassFish.
|
In early June, Gavin announced that Hibernate 1.0.1 ran on GlassFish (TA report). Later in the month, Brian reported success with his own example; but some readers posted some issues (see comments). Now, Warren reports success with the Booking example. The latest update is from the comments to Warren's blog that mentions some problems with selectItems. Also see these two threads in the GlassFish forum: thread 1 and thread2. |
Gavin King has just announced he's released version 1.0.1 of Seam fixing some previous known issues running with GlassFish, Gavin now reports that the issues have been sorted and Seam retested on GlassFish.
|
The Executive Comitee for Java EE/SE has approved the WebBeans JSR (submission request, ballot). WebBeans was submitted by JBoss with the endorsement of Borland, Google, JBoss, Oracle, Sun and Sybase. The submission specifically lists EJB 3.0, JSF 1.2, JBoss Seam, Struts Shale and Oracle ADF as contributed technologies, and lists the tentative final release as April 2008. |
JBoss active engagement in the JCP is very good for the Java Community. I believe this can be a very useful JSR, and I look forward to its progress. Like with JBoss Seam, we hope to track its development closely in Project GlassFish.