Requirements for initiating business objects in interaction patterns

The topics in this section describe mandatory requirements for the use of business objects in interaction patterns.

Adding the business object initialization library

The BusinessObject initialization library routine is required for EJBs that create business objects. The JAR file containing it (boutils.jar) must be part of the Enterprise Application project (EAR Project) and specified as the dependency of the EJB module. These are the steps:

  1. Select the EAR application in the Business Integration Perspective, J2EE Hierarchy View. Right-click on it and choose Import.
  2. Use the Import dialog to navigate to and import the boutils.jar file that is shipped with the adapter.
  3. Verify that the newly imported file appears within the folder hierarchy for the enterprise application:
  4. Add the imported jar to the list of dependencies of the EJB module (in the above EAR) in which you are planning to use the utility library. Select the EJB project, then properties from the popup menu and Java JAR Dependencies in the list.

  5. Check the box for boutil.jar
  6. Press OK.

Now the boutils.jar file is part of the Enterprise Application and will be included in the EAR file.

Copyright IBM Corp. 1997, 2003