IBM BJ0NJML Integration Guide - Page 160
JNDINAME Property, METHODNAME Property, PROVIDERURL Property, Server, File name, Property, JNDI tree.
![]() |
View all IBM BJ0NJML manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 160 highlights
Handlers The responseOk() method is called after a successful enterprise bean invocation. public void responseError(Exception e) throws MXException The responseError() method is called with the originating exception as a parameter if an error is encountered during enterprise bean invocation. The following code illustrates what your implementation of getClassParams() looks like when the enterprise bean client has a business method with a byte array and a string: Class[] classParams = {byte[].class, String.class}; return classParams; The following code illustrates what your implementation of getObjectParams () looks like when the enterprise bean client has a business method with a byte array and a string: byte[] data = ...; String ifaceType = ...; Object[] objParams = {data,ifaceType}; return objParams; JNDINAME Property Complete one of the following actions to identify the location of the package structure for the EJBExit class file: T Place the class in the Java package structure applications/maximo/ businessobjects/classes folder. T Modify the mboweb\webmodule\META-INF\MANIFEST.MF class path to include the package structure. T Rebuild the application EAR file and include the EJBExit class file. The following required property specifies the name by which the enterprise bean client is registered in the application server Java Naming and Directory Interface (JNDI) tree. Server IBM WebSphere Application Server File name ibm-ejb-jar-bnd.xml Property METHODNAME Property PROVIDERURL Property This required property specifies the public business method that is exposed by the enterprise bean client that is invoked by this handler. This required property specifies the URL of the target application server on which the enterprise bean is running. The system then maps to the java.naming.provider.url property and creates the InitialContext object. 146 Integration Guide
![](/manual_guide/products/ibm-bj0njml-integration-guide-77e799f/160.png)