|
Home TOC Index |
|
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 the components is in
j2eetutorial/examples/src/ejb/converter, a directory that is created when you unzip the tutorial bundle. If you are viewing this tutorial online, you need to download the tutorial bundle fromhttp://java.sun.com/j2ee/download.html#tutorialGetting the Build Tool (ant)
To build the example code, you'll need installations of the J2EE SDK and
ant, a portable make tool. For more information, see the section How to Build and Run the Examples.Checking the Environment Variables
The installation instructions for the J2EE SDK and
antexplain how to set the required environment variables. Verify that the environment variables have been set to the values noted in Table 2-1.Starting the J2EE
Server
To launch the J2EE server, open a terminal window and type this command:
j2ee -verboseAlthough not required, the
verboseoption is useful for debugging.To stop the server, type the following command:
j2ee -stopStarting the deploytool
The
deploytoolutility has two modes: command line and GUI. The instructions in this chapter refer to the GUI version. To start thedeploytoolGUI, open a terminal window and type this command:deploytoolTo view the tool's context-sensitive help, press the
F1key.
|
Home TOC Index |
|
Search
Feedback |