Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sun JDK 5.0 can be downloaded from Sun's J2SE 5.0 Downloads site. WTP along with all the other prerequisites can be downloaded in one combined bundle from WTP Downloads site.

Geronimo server can be installed from within Geronimo Eclipse Plugin. This feature does not work currently for 2.1 server. Download Geronimo 2.1 server from http://www.apache.org/dist/geronimo/ and extract the archive to a directory of your choice (for e.g. C:\g). The archive will be extracted to a directory geronimo-tomcat6-javaee5-2.1 (for e.g. C:\g\geronimo-tomcat6-javaee5-2.1) or geronimo-jetty6-javaee5-2.1 depending on whether you downloaded Geronimo 2.1 distribution with Tomcat or Jetty as the web container. We will refer to this directory as <geronimo_home> from now on.

Installing Eclipse

WTP All-in-One package

...

  1. Launch eclipse by running <eclipse_home>/eclipse.
  2. Launch the Define a New Server dialog using one of the following:
    • From the Servers view in the Java EE Perspective: Right-click, New, Server.
    • From any Perspective: Select File, New, Other, Server.
  3. Select Apache Geronimo v2.1 Server and click Next.
  4. Select Workbench default JRE (click Installed JREs to add any new JREs and return to this dialog once done), enter the directory name or browse to the directory where Geronimo 2.1 server is installed <geronimo_home> and click Next. (Note: Download options part of this dialog does not work currently.)
  5. Select the location of the archive containing Geronimo source and click Next. This is required only if you intend to debug into Geronimo source code.
  6. Modify Hostname, Administrator Id, Administrator password, Web Connector port and RMI Naming port if necessary and click Finish. Normally you will not need to change the default values for these fields for a newly installed Geronimo 2.1 server.

...

The application will be run on the selected server and the welcome page will display in a web browser window inside eclipse.

Configuring your development environment

...

...

Configuring your development environment

...

Children Display