Compiling and running the TwineBall JNI implementation

We use Make to build the shared library. Ensure you have a complete build environment for the target platform. Each platform's makefile contains the information about which compiler it is built for. If that compiler and Make are installed, all you should have to do to compile the library is to extract the files onto the target platform and type make -f Makefile.Platform where Platform is the desired target platform.

To run the TwineBall adapter with the JNI bridge:

  1. Install either WebSphere InterChange Server or the WebSphere Business Integration Adapter Framework on the target platform.
  2. Put the compiled classes for the TwineBall server and the adapter in the ProductDir/connectors/twineball directory.
  3. Put the message file from "dependencies" in the "messages" folder.
  4. Put the shared library and the start_twineball.sh script in the ProductDir/connectors/twineball directory.
    You will not need to set up the TwineBall database or server because in this example, the adapter will call the JNI bridge instead.
  5. Configure the adapter, using twineball.cfg as a template, and use the special string JNIStub as the server URL.
  6. Start the adapter normally using its start script.

The JNI backend for the adapter implements both service call and event delivery for "TwineBallCustomer" business objects. You will find the TwineBallCustomer business object in the "sample business objects" folder.

Copyright IBM Corp. 1997, 2004