Updating the Target Platform

You can add third party Java™ classes to the Target Platform of an Eclipse development environment.

Before you begin

Ensure the JAR file that contains the third party Java classes is available as an OSGi plug-in and is copied to the local workstation. Ensure the CICS® TS 5.4 with Java EE and Liberty Target Platform is already configured.

About this task

The CICS Explorer® Software Development Kit (SDK) only supplies Java classes necessary for the usage of the CICS or web APIs. To add support for additional interfaces, you must add the OSGi plug-in that contains the third party JARs to the Eclipse Target Platform. This procedure makes the exported packages available to all applications that use this target platform.

Procedure

  1. In Eclipse, select Windows > Preferences > Target Platform.
  2. Select CICS TS 5.4 with Java EE and Liberty Target Platform from the Target definitions.
  3. Click Edit and then under the Locations tab, click Add. Browse to the directory where the third party bundle JAR is located.
  4. Click Next. The OSGi plug-in content is displayed.
  5. Click Finish > Finish > then OK.

Results

You have successfully updated the OSGi environment to include both the third party OSGi bundle and the CICS OSGi bundle that are required for Java application development.

What to do next

Deploy the Java application into a CICS JVM server, and add the third party JAR as an OSGi middleware bundle or to the Liberty shared bundle repository. For further details, see Updating OSGi middleware bundles and Manually tailoring server.xml.


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