[Java programming language only]

Configuring Eclipse environments to use eXtreme Scale connection factories

The eXtreme Scale resource adapter includes custom connection factories. To use these interfaces in your eXtreme Scale Java™ Platform, Enterprise Edition (Java EE) applications, you must import the wxsra.rar file into your workspace and link it to your application project.

Before you begin

  • You must install Rational® Application Developer Version 7 or later or Eclipse Java EE IDE for Web Developers Version 1.4 or later.
  • A server runtime environment must be configured.

Procedure

  1. Import the wxsra.rar file into your project by selecting File > Import.
    The Import window is displayed.
  2. Select Java EE > RAR file.
    The Connector Import window is displayed.
  3. To specify the connector file, click Browse to locate the wxsra.rar file.
    The wxsra.rar file is installed when you install a resource adapter. You can find the resource adapter archive (RAR) file in the following location:
    • For WebSphere® Application Server installations: wxs_install_root/optionalLibraries/ObjectGrid
    • For stand-alone installations: wxs_install_root/ObjectGrid/lib directory
  4. Create a name for the new connector project in the Connector project field. You can use wxsra, which is the default name.
  5. Choose a Target runtime, which references a Java EE server runtime environment.
  6. Optionally select Add project to EAR to embed the RAR into an existing EAR project.

Results

The RAR file is now imported into your Eclipse workspace.

What to do next

You can reference the RAR project from your other Java EE projects using the following steps:
  1. Right click on the project and click Properties.
  2. Select Java Build Path.
  3. Select the Projects tab.
  4. Click Add.
  5. Select the wxsra connector project, and click OK.
  6. Click OK again to close the Properties window.

The eXtreme Scale resource adapter classes are now in the classpath. To install product runtime JAR files using the Eclipse console, see Setting up a stand-alone development environment in Eclipse for more information.