The J2EE 1.4 Tutorial is available on java.sun.com.
To run the J2EE 1.4 Tutorial with Sun Java System Application Server:
Follow the instructions in the section About the Examples to build, deploy and run the example applications. When editing the file examples/common/build.properties, change the port number from 4848 to 4849.
When using Deploytool, add the server localhost:4849 before deploying an application.
When using the Admin Console to create any resource, use the Targets tab to specify the server as the target. If you use the command line or an asant target, the server is the default target, and no further action is required.