Getting Started With Project jMaki for the GlassFish v3 Application Server

ProcedureBuilding and Running the plotCity Application in NetBeans IDE 6.1

With this task, you'll be able to run plotCity in your browser.

  1. Select File->Open Project in NetBeans IDE 6.1.

  2. Select the plotCity project that you extracted from the zip file in the previous task, and click OK.

  3. Right click on the plotCity application in the Projects pane and select Run Project.

    This will compile the classes, package the files into a WAR file, deploy the WAR to your GlassFish v3 Technology Preview 2 Application server instance, and open a web browser to the following URL:


    http://<server>:<server port>/plotCity/
  4. Select a state from the State combobox. Then select a city from the City combobox. You'll see that city plotted on the map.