![IBM BJ0NJML - Service And Asset Management Integration Manual Download Page 160](http://html1.mh-extra.com/html/ibm/bj0njml-service-and-asset-management/bj0njml-service-and-asset-management_integration-manual_3468932160.webp)
Handlers
146
Integration Guide
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;
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.
JNDINAME Property
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.
METHODNAME Property
This required property specifies the public business method that is exposed by
the enterprise bean client that is invoked by this handler.
PROVIDERURL Property
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.
Server
File name
Property
IBM
WebSphere
Application
Server
ibm-ejb-jar-bnd.xml
<ejbBindings xmi:id="Session_enterpriseservice_Bnd"
jndiName="ejb/maximo/remote/enterpriseservice">
<enterpriseBean xmi:type="ejb:Session" href="META-INF/ejb-
jar.xml#Session_enterpriseservice"/>
</ejbBindings>
Summary of Contents for BJ0NJML - Service And Asset Management
Page 12: ...xii Integration Guide ...
Page 14: ...xiv Integration Guide ...
Page 16: ......
Page 31: ...Integration Framework for User Interface Integration Integration Framework Architecture 17 ...
Page 32: ...Integration Framework for User Interface Integration 18 Integration Guide ...
Page 60: ...Synchronous Inbound Integration Processing 46 Integration Guide ...
Page 122: ...Configuring External Systems 108 Integration Guide ...
Page 142: ...Non queue Error Management 128 Integration Guide ...
Page 154: ...Integration Components 140 Integration Guide ...
Page 156: ......
Page 172: ...Writing Custom Handlers 158 Integration Guide ...
Page 176: ...Queue Tables 162 Integration Guide ...
Page 190: ...IBM WebSphere MQ 176 Integration Guide ...
Page 212: ...Inbound Message Receipt 198 Integration Guide ...
Page 226: ...Integration Controls 212 Integration Guide ...
Page 252: ...Predefined External System Modifications 238 Integration Guide ...
Page 263: ...Web Service Queries Integration Queries 249 ...
Page 264: ...Web Service Queries 250 Integration Guide ...
Page 272: ...Integration Web Service Invocations 258 Integration Guide ...
Page 276: ...Multilanguage Attributes 262 Integration Guide ...
Page 293: ...Integration Module Invocation Integration Modules 279 ...
Page 294: ...Integration Module Invocation 280 Integration Guide ...
Page 302: ...Associating a Condition with a Signature Option 288 Integration Guide ...
Page 320: ...Work Order Collaboration Switches 306 Integration Guide ...
Page 324: ...310 Integration Guide ...