Rational HATS Applications on Apache Geronimo Server

By -
Share:

IBM Rational HATS applications are always known to be developed for IBM WebSphere Application or Portal Servers. Now we can develop, test, and deploy HATS web applications for the Apache Geronimo web application server along with Tomcat web container.

Apache Geronimo is an open source server runtime that meet the needs of enterprise JAVA developers and system administrators.

Downloading and Installing Geronimo Server

Download and install Geronimo server with the Tomcat web container:

  1. Download Apache Geronimo from here http://geronimo.apache.org/downloads.html.
  2. Extracting the .zip or .tar files and install it.
  3. Run the server from a command line window by changing the directory to geronimo_home/bin and entering the command: geronimo run.

The Geronimo Eclipse Plugin (GEP) provides integration between Eclipse, its Web Tools Platform (WTP) project, and Geronimo that enables you to utilize WTP features to develop, test, and deploy applications for the Apache Geronimo server using Rational SDP.

Install the Geronimo Eclipse Plugin (GEP), GEP version 2.2 has server adapters for version 1.1.x, version 2.0.x, version 2.1.x, and version 2.2 Apache Geronimo servers.

Configure Apache Geronimo as a server in Rational SDP for HATS test environment:

  1. At the Rational SDP menu bar, click Window > Preferences.
  2. In the left panel, expand Server section.
  3. Click on Runtime Environments.
  4. At the panel ‘Server Runtime Environments’, click Add here.
  5. In the New Server Runtime Environment dialog box, expand the Apache folder.
  6. Select the version of the Apache Geronimo server.
  7. Click Next to go to the panel, point to your local Geronimo server. In the field ‘Application server Directory’ enter the folder where the Geronimo server files are extracted.
  8. Click Finish.
  9. Click OK to close the panel ‘Preferences’.

After these steps, now we can create HATS applications within Rational SDP for Apache Geronimo servers.

Considerations / limitations for Geronimo servers

There are some differences between HATS web applications on Apache Geronimo server as compared to WebSphere Application Server. For instance, only single HATS web application is supported per .ear file on an Apache Geronimo server while WAS can run many.

Research Courtesy: Rafay Mirani (Rafi-u-Rehman)

Share: