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 will work with JBoss Application Server 5.0.x. If you are using JBoss AS 5.0.0.CR1, you should use Seam 2.0.3.CR1, if you are using JBoss AS 5.0.0.CR2 or higher you should use Seam 2.0.3.CR2 or even better Seam 2.1.0.GA. See below for some known issues and further information.

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.

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 Roadmap Items for JEE5 and AS 5 Support

This is where we will list out any specific points of interest, and items that should be address or emphized for Seam support for JEE5 containers such as GlashFish and JBoss AS 5

  • JBSEAM-3612 - obtaining entity manager factory from JNDI via persistence unit reference
  • TBD

Seam 2.1.0.GA compatibility issues with AS 5

Below is a listing of the Seam 2.1.0.GA examples and how they work with AS 5. Some will work fine with AS 5 CR2, some require the latest trunk build (until GA is released), and other do not currently work with AS 5, but should be fixed either for AS 5 GA or in a future release of Seam 2.1.X.

AS 5.0.0 CR2 or higher

  • booking
  • drools
  • excel
  • icefaces
  • itext
  • mail
  • messages
  • numberguess
  • nestedbooking
  • registration
  • remoting/gwt
  • remoting/helloworld
  • remoting/progressbar
  • todo
  • rss
  • wicket JBAS-6117 - example functions, but errors on undeploy

AS 5.0.0 trunk or higher

  • remoting/chatroom

Examples that do not function on AS 5

1 comment:
 
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
Post Comment