JPA & Seam in a sample application in a nutshell

Carol's photo

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.

Comments:

Hi alexis, Currently I'm also trying out Seam on the latest Glassfish v2. But there are several problems I found when the Seam apps involves jBPM and jboss-rules. Hopefully I can find a way out for this soon.

Posted by Joshua on July 10, 2007 at 01:22 PM PDT #

Hello Josh. Do you have bugIds for this (GlassFish or jBPM/Rules)? Thanks.

Posted by Alexis MP on July 10, 2007 at 03:34 PM PDT #

Hi alexis, What bugIds do you mean? I don't get it. I'm still new to glassfish as I usually use JBoss. I have been able to get workaround for seam-apps that uses drools. I just placed the .drl file inside the WEB-INF/classes. In JBoss .drl file can be placed in myear.ear root, but this doesn't work in Glassfish. My next issue I'm trying to solve is to get seam-apps that uses jBPM to work in Glassfish. The problem is still the same as the drools issue, the unability to read the process definitions. I already placed it in WEB-INF/classes, myear.ear/ root, myear.ear/lib. Nothing seems to work. Perhaps this is due to my shortage of knowledge with Glassfish. Hopefully I can find a solution for this soon.

Posted by Joshua on July 10, 2007 at 04:51 PM PDT #

Josuha, this is all very interesting information. What I meant by BugIDs was: have you filed any defects/RFE against any of any of those software (seam, jbpm, glassfish)? Maybe before doing so, you could share your findings on the GlassFish USERS mailing list (or the equivalent forum) and ask for guidance. Anyway, thanks for using GlassFish!

Posted by Alexis MP on July 10, 2007 at 05:36 PM PDT #

Post a Comment:
Comments are closed for this entry.