Previous  Table of Contents  Next  

  J2EE Tools - Lightweight IDE for J2EE Version 1.5.0  
     
 

GETTING STARTED

Build, Deploy and Run Hello 1 Web Application

This page describes how to build, deploy and run the Hello 1 web application in the J2EE Tutorial.
  1. Browse Hello 1 Web Application in J2EE Tutorial:

    1. Click Help | J2EE Tutorial in the J2EE Tools window.
    2. Wait until the J2EE Tutorial appears in the browser window.
    3. Scroll to and click Chapter 3: Getting Started with Web Applications.
    4. Scroll to and click Web Modules.
    5. When done browsing, click X in the top right corner of the browser window.
  2. Build Hello 1 Web Application:

    1. Click the Application tab in the J2EE Tools window.
    2. Click the Project Directory box in the Application tab then click web in the popup list.
    3. Click the Application Directory box then click hello1.
    4. Click the Build File box then click build.xml (default).
    5. Click the Build Target box then click default.
    6. Click Tools | Build.
    7. Wait until Build Successful appears in the Build Target window.
    8. Click X in the top right corner of the Build Target window.
  3. Start Application Server:

    1. Click Tools | Application Server | Start in the J2EE Tools window.
    2. Wait until Application server startup complete appears in the Start Application Server window.
  4. Deploy Hello 1 Web Application Web Archive File on Application Server:

    1. Click Tools | Deployment | Deploy in the J2EE Tools window.
    2. Wait until Command deploy executed successfully appears in the Deploy Archive File window.
    3. Click X in the top right corner of the Deploy Archive File window.
  5. Run Hello 1 Web Application Web Client:

    1. Click Tools | Run | Web Client in the J2EE Tools window.
    2. Wait until the Hello page appears in the browser window.
    3. Click the field under Hello, my name is Duke. What's yours? then type World and click Submit.
    4. Wait until Hello, World! appears at the bottom of the browser window.
    5. When done entering names, click X in the top right corner of the browser window.
  6. Undeploy Hello 1 Web Application Web Archive File on Application Server:

    1. Click Tools | Deployment | Undeploy in the J2EE Tools window.
    2. Wait until Command undeploy executed successfully appears in the Undeploy Archive File window.
    3. Click X in the top right corner of the Undeploy Archive File window.
  7. Stop Application Server:

    1. Click Tools | Application Server | Stop in the J2EE Tools window.
    2. Wait until Domain domain1 stopped appears in the Stop Application Server window.
    3. Click X in the top right corner of the Stop Application Server window.
    4. Click X in the top right corner of the Start Application Server window.
 

 
Get J2EE Tools from Field Bird at SourceForge.net Previous  Table of Contents  Next