![]() |
![]() |
For more information on using the assembly tools to convert a Cobol copybook or C structure into a Java™ data binding helper class, see the assembly tool information center.
The assembly tools are shipped with the WebSphere® Application Server for z/OS® and contain the Java™ archive (JAR) file that contains the package, com.ibm.websphere.ola, that you will need to identify your enterprise bean as a potential target of an optimized local adapter call. This package contains the ExecuteHome and Execute classes that hold the abstract interfaces that are needed to call the adapter. You must create a stateless session bean that implements a method called execute() which accepts a byte array as input and returns a byte array as output and specifies the name com.ibm.websphere.ola.ExecuteHome for the EJB home interface and com.ibm.websphere.ola.Execute for the remote interface. The enterprise bean that you want to invoke from an external address space, must include a method called execute that accepts a byte array as input and returns a byte array as output. This is the method that you will receive control in when an external address space uses one of the adapter API calls such as Invoke or Send Request. The execute method is defined on the remote interface, com.ibm.websphere.ola.Execute and contains the business logic for the application.
![]() |
![]() |