WebSphere brand IBM WebSphere Premises Server, Version 6.1.x

Copying the required JAR files

The WebSphere® Premises Server Toolkit includes Java™ archive (JAR) files which are required when creating WebSphere Premises Server solutions in the toolkit.

Before you begin

The required JAR files vary depending upon the type of application you want to create. All JAR files are available in the WebSphere Premises Server Toolkit in the IBM > RFID > premises > api > lib folder.

To create an application that creates or processes events, the following JAR files are required:

To create an application that uses the WebSphere Premises Server API, the following JAR files are required:

To create an application that uses events and the WebSphere Premises Server API, copy all the JAR files.

Note: This tutorial example only processes events.

Follow these steps to copy the JAR files to the enterprise application project that you created:

Procedure
  1. In Rational® Application Developer for WebSphere Software select File > New > Other > General > Folder and click Next.
  2. Complete the following tasks in the Folder window
    • For the parent folder, select TemperatureEvent_EAR.
    • For the folder name, enter lib.
  3. Click Finish.
  4. In the Project Explorer view, expand IBM > RFID > premises > api > lib.
  5. While pressing and holding the Ctrl key, select the following JAR files in the lib folder:
    • Amit3.0Common.jar
    • com.ibm.rfid.epcg.core.jar
    • com.ibm.rfid.epcg.tds.jar
    • ibmrfid_common_utils.jar
    • ibmse_common_util.jar
    • ibmse_event_model_converter.jar
    • ibmse_event_model_uuid.jar
    • ibmse_event_model.jar
    • ibmse_taskagent_runtime.jar
    • org.apache.regexp.jar
  6. With the JAR files selected, select Edit > Copy.
  7. Expand TemperatureEvent_EAR and select the lib folder.
  8. With the lib folder selected, select Edit > Paste.
  9. Expand the lib folder to verify that the JAR files have been copied.
What to do next
Create a Java utility project.

Library | Support | Terms of use

(c) Copyright IBM Corporation 2004, 2008. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.