Help

Built with Seam

You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.

Most of the Seam example applications work with JBoss Application Server 5.0.0.GA as is. Seam 2.1.1.GA is the recommended version for use with AS5.

Setup

The setup required to use JBoss AS 5 is exactly the same as with JBoss AS 4.2.X

  1. Download JBoss AS 5 and start JBoss with the bin/run.(sh/bat) script.
  2. Edit build.properties in your Seam directory and configure the jboss.home property to be your JBoss AS installation directory.
  3. In the jboss-seam/examples/booking directory, type ant deploy.
  4. Point your browser to http://localhost:8080/seam-booking/ and register an account and book some hotels.
  5. In the jboss-seam/examples/drools directory, type ant deploy.
  6. Point your browser to http://localhost:8080/seam-drools/ and play the guessing game.
  7. In the jboss-seam/examples/wicket directory, type ant deploy.
  8. Point your browser to http://localhost:8080/seam-wicket/ and see what Wicket is all about.

Note that jpa example has AS5 specific build target - jboss5

Now pick one of these apps and change the pages and/or source code in your Seam's /examples/<app-dir> directory and redeploy the application by calling ant deploy - see how your modifications affect the application.

If you would like to understand some of the details of the Seam, AS 5 integration take a look on the JBoss wiki and specifically What is JBoss-Seam-Int

Seam 2.1.1.GA compatibility issues with AS 5.0.0.GA

Seam's support for JBoss 5 has substantially improved, but there are still some know issues.

Seam 2.1.1.GA examples that are not fully functional

Examples not listed here have been tested and work on AS5.

* - issue that have been fixed in Seam trunk

3 comments:
 
15. Oct 2008, 07:46 CET | Link

I tried the seam-dvd example, when I tried to log in I got

EntityManagerFactory not found in JNDI : java:/dvdEntityManagerFactory

Using Seam 2.1.0.CR1 and JBoss 5.0.0.CR2

ReplyQuote
 
03. Dec 2008, 10:29 CET | Link
ChengLiZhi | 58104351.AT.qq

Remove seam.properties from your project, run it OK!

 
15. Dec 2008, 04:31 CET | Link
Raghunath

Still issue remains ..

I'm trying to generate seam project using jbosstools with reverse engineered entities. I'm getting following error and I tried this by removing seam.properties(2 files - in src/model ,src/action) but still no use ... error repeated

javax.faces.FacesException: javax.el.ELException: /StudentList.xhtml @37,60 rendered="#{empty studentList.resultList}": Error reading 'resultList' on type org.domain.Z1.session.StudentList_$$_javassist_1
        at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:393
......
Caused by: org.hibernate.hql.ast.QuerySyntaxException: Student is not mapped [select student from Student student]
.....

Then I moved all src files to my own src-dir then I'm getting different error on the response page

Exception during request processing: 
Caused by javax.servlet.ServletException with message: "/CommunityList.xhtml @19,81 value="#{communityList.community.name}": Target Unreachable, identifier 'communityList' resolved to null" 

thanks raghu

Post Comment