Java EE SDK Runs Seam

I am happy to report that Seam
(the JBoss application framework that unifies JSF and EJB 3.0) runs on
href="https://glassfish.dev.java.net/">GlassFish, the Open Source
Application Server from which the Java EE SDK is built. This
required some modifications and rebuilding of Seam source code, mainly
because of the repackaging of EJB classes in accordance to the latest
EJB specification implementation. JBoss is making the required
changes, but for those of you who can't wait, I'll describe those
changes and setup necessary to get a Seam application up and running on
GlassFish. Also, I'd like to point out, that these instructions
are for the Seam 1.0beta2 release. Recently JBoss has released a
later version, but the interceptor related packaging changes are not
there. First, let's install the
patches and get the Seam Booking application up and running.

Prerequisites:

A working build environment with ant,
at least JDK 5,
and
href="https://glassfish.dev.java.net/public/downloadsindex.html#Official_supported_builds">GlassFish
(build 43 or later).

For this application, you will also need to make sure you have
the compatable Hibernate libraries with GlassFish:

Edit the script to make sure it references your Glassfish and
Hibernate install directories.

Execute the script.

Seam Setup:

Download and install the Seam 1.0beta2 release from
href="http://prdownloads.sourceforge.net/jboss/jboss-seam-1.0beta2.zip?download">here.

You should see a jboss-seam-1.0beta2 directory.

Get the zip files:
href="http://weblogs.java.net/blog/rogerk/archive/seam-core-patch.zip">seam-core-patch.zip
and
href="http://weblogs.java.net/blog/rogerk/archive/seam-booking-patch.zip">seam-booking-patch.zip
.

Go to the jboss-seam-1.0beta2 directory and unzip
seam-core-patch.zip and seam-booking-patch.zip.

Now, here is an explanation of changed modules. The current JBoss
Seam codebase is not up to date with the latest EJB specification (and
implementation - as in GlassFish). Seam classes still reference
EJB interceptor related classes in the
style="font-style: italic;">javax.ejb package, but these now
exist in the javax.interceptor
package. JBoss will be updating their source, but I am not clear
on when that will happen.