Get GlassFish V2 Sun Support for GlassFish - Get GlassFish Portfolio
« Another SPECjAppServ... | Main | New Controls In... »
Jul 07
10
JPA & Seam in a sample application in a nutshell
  Posted by alexismp in GlassFish

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 08: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 10: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 11: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 11, 2007 at 12:36 AM PDT #

Post a Comment:

Comments are closed for this entry.

Languages

Event Calendar

Search

The Aquarium TV

Adoption Stories

GlassFish Podcast

Popular Tags

adoption ajax clustering comet community frontpage glassfish grizzly hudson java javaee javaee6 javaone jax-rs jax-ws jaxb jboss jcp jersey jmaki jruby jsf metro mysql netbeans notd opends openesb openmq opensolaris opensource opensso osgi performance portal rails rest ruby sailfin scripting sip stories sun tools updatecenter v2 v3 webinar webservices weekly

Downloads

Companion Sites

Related Links

Useful Pointers

Offers and Promos

... AT TWITTER

OTHER SHORT NEWS

Recent Entries

News by Mail

Contact Us

Send feedback and leads to theaquarium@sun.com

QR Codes


Navigation