Deploying Java EE applications directly to a Liberty JVM server

You can deploy Java™ EE applications by defining the application element in server.xml, or by copying the application into a previously defined dropins directory.

Before you begin

The JVM server must be configured to use Liberty technology.

About this task

Java EE applications can be packaged as a Web Archive (WAR), a Enterprise Bundle Archive (EBA), or a Enterprise Application Archive (EAR).

Liberty provides two methods to install Java EE applications:

  • You can add an application element in server.xml.
  • Alternatively you can copy the application into the dropins directory of the Liberty JVM server. If you use dropins, CICS® is will always run under the transaction CJSA and will not benefit from extra qualities of service such as CICS security.
Note:
  • Do not use both techniques to deploy the same application into the same JVM server.
  • If you accept the defaults that are provided by CICS autoconfigure, the dropins directory is not automatically created.

Procedure

Results

The Liberty JVM server installs the application.

What to do next

Access the Java EE application from a web browser to ensure that it is running correctly. To remove the application file, delete the WAR, EBA or EAR file from the dropins directory. If it was deployed with an application element, remove that element from server.xml.


create_libertyapp.html | Timestamp icon Last updated: Monday, 5 June 2017