Home TOC |
Search
Feedback |
Setting Up
Before you start developing the example application, you should follow the instructions in this section.
Getting the Example Code
The source code for components is in the examples/src/ejb/converter directory. If you are viewing this online, you first need to download the tutorial bundle from:
http://java.sun.com/j2ee/download.html#tutorialBuilding the Example
To build the example code you'll need copies of the J2EE SDK and ant, a portable make tool. For more information, see How to Build and Run the Examples.
Checking the Environment Variables
The installation instructions for the J2EE SDK and ant explain how to set the required environment variables. Please verify that the environment variables have been set to the values noted in the following table.
Starting the J2EE Server
To launch the J2EE server, open a terminal window and type this command:
j2ee -verboseAlthough optional, the verbose option is useful for debugging. To stop the server, type the following command:
j2ee -stopStarting the deploytool
The deploytool has two modes: command-line and GUI. The instructions in this chapter refer to the GUI version. To start the deploytool GUI, open a terminal window and type this command:
deploytool
Home TOC |
Search
Feedback |