Getting Started with Enterprise JavaBeans™


Appendix A

Tutorial Home Section Home Next Section



Installing and Running J2EE

     The tutorial uses the J2EE 1.3.1 Reference Implementation and the Cloudscape RDBMS, which are included in the J2EE SDK download. If you use a different J2EE application server, you should ensure that it is compliant with J2EE 1.3.1 and the EJB 2.0 specification. The reference implementation requires J2SE 1.3.1_02 or later.

     You can download the J2EE SDK from Sun's J2EE site; see Resources. While there, be sure to read and follow the Installation Instructions for your platform. In addition, the tutorial uses the standard javac command to compile the example code, so you will need to put j2ee.jar in your classpath. j2ee.jar is located in J2EE_HOME/lib. Once the SDK is installed, you should review the Release Notes and the Configuration Guide. API documentation and J2EE SDK Tools instructions are also provided. These are all HTML pages that you can access from J2EE_HOME/doc/index.html.

     Starting and stopping the J2EE Reference Implementation

     To start J2EE, at the command line enter:

          j2ee -verbose

     To stop j2ee, at the command line enter:

          j2ee -stop

     Starting and stopping Cloudscape

     To start the Cloudscape database engine, at the command line enter:

          cloudscape -start

     To stop Cloudscape, at the command line enter:

          cloudscape -stop

     Starting deploytool

     To start deploytool (see Appendix B: Deployment), enter deploytool at the command line. Exit as you would any other GUI application.

Tutorial Home Section Home Next Section