Set up for the EJB3 Labs

Pete Bennett (pbennett@jboss.com)
15 November 2006

This file describes the setup steps required to run the three EJB3 labs covering Stateless Session Beans, Entity Beans and Interceptors.

JVM

  1. Download and install a J2SE 5 JVM from java.sun.com
  2. Set up an environment variable called JAVA_HOME to point to the install directory
  3. Add JAVA_HOME\bin to your executable path
  4. Run java -version from a command line
  5. You should see java version "1.5.0_xx" ...

JBoss AS

  1. Install JBoss AS 4.0.5 with the EJB3 and Portal profile from the supplied CD
  2. Set up an environment variable called JBOSS_HOME to point to the install directory

Apache Ant

  1. Download and install Apache Ant 1.6.5 from ant.apache.org
  2. Set up an environment variable called ANT_HOME to point to the install directory
  3. Add ANT_HOME\bin to your executable path
  4. Run ant -version from a command line
  5. You should see Apache Ant version 1.6.5 ...