PlantsByWebSphere on WebSphere® Application Server Community Edition 2.X

Before you begin:
Locate the PlantsByWebSphere Enterprise Application Archive (EAR) file, database, and deployment files that were provided with this documentation.  Depending on how you obtained this sample application, you can find the information in one of two places:

Configure the database for PlantsByWebSphere

The PlantsByWebSphere application uses the Derby database which is provided by WebSphere Application Server Community Edition 2.X. The PlantsByWebSphere download provides a compressed database which contains a set of prepopulated tables. The database needs to be uncompressed and a datapool mapping created. The datapool mapping is used to map database requests between the PlantsByWebSphere application the application server.

  1. Locate the PLANTSDB_Derby_10.2.zip file and unzip the contents into the var/derby directory which is located in the root directory of the WebSphere Application Server Community Edition 2.X installation.

Installing the PlantsByWebSphere application on WebSphere Community Edition 2.X

  1. Start the Geronimo server and go to the administrative console and log in with your user id and password. Click Deploy New in the left menu.
  2. For the Archive input, click the Browse and navigate too the PlantsByWebSphere.ear file.
  3. For the Plan input, select the Browse button and navigate too the pbwdeploy-geronimo-plan.xml file.
  4. click Install
  5. Click on Application EARs in the left menu to see the PlantsByWebSphere entry.

Accessing PlantsByWebSphere : AJAX Edition

The location of the application is http://localhost:8080/PlantsByWebSphereAjax