The Java EE 5 Tutorial

Sun Java System Application Server 9.1

Sun Java System Application Server 9.1 is targeted as the build and runtime environment for the tutorial examples. To build, deploy, and run the examples, you need a copy of the Application Server and, optionally, NetBeans IDE. You can download the Application Server from

Scroll down to the section entitled Download the Components Independently and click the Download link next to Sun Java System Application Server 9.1 (based on GlassFish V2).

Note –

You can also run the tutorial examples using Sun Java System Application Server 9.0, or using GlassFish V2.

Refer to the Java EE Tutorial Compatibility Wiki page for information about the versions of the Application Server and the Sun GlassFish Enterprise Server with which the tutorial examples have been tested.

Application Server Installation Tips

During the installation of the Application Server:

This tutorial refers to the directory where you install the Application Server as as-install. For example, the default installation directory on Microsoft Windows is C:\Sun\AppServer, so as-install is C:\Sun\AppServer.

After you install the Application Server, add the following directories to your PATH to avoid having to specify the full path when you use commands: