Loading JAX-RPC handler classes

A JAX-RPC handler interacts with messages as they pass into and out of the service integration bus, therefore you make the handler class available to the server or cluster that hosts the inbound or outbound port for the service that you want to monitor.

Before you begin

This task assumes that you have already created your JAX-RPC handler. You can do this using WebSphere® Studio Application Developer (WSAD) or a similar tool. For more information, see the IBM® developerWorks® article Support for J2EE Web Services in WebSphere Studio Application Developer V5.1 -- Part 3: JAX-RPC Handlers.

About this task

Before you can configure your JAX-RPC handler for use with service integration bus-deployed Web services, you must make the handler class available. If you want to monitor an inbound port, make the handler class available to the server on which the endpoint listener for that port is located. If you want to monitor an outbound port, make the handler class available to the server on which the outbound port destination is localized.

To make the handler class available to the server or cluster that hosts the port for the service that you want to monitor, complete one of the following steps:
  • Copy the individual class file into a directory structure under app_server_root/classes that matches the package name of the class, where app_server_root is the root directory for the installation of IBM WebSphere Application Server. For example, you would copy handler class com.ibm.jaxrpc.handler.TestHandler into the app_server_root/classes/com/ibm/jaxrpc/handler directory.
  • Package the class files for all your handlers as a JAR file, then copy it into the app_server_root/lib/app directory.
When you add a handler class to either of these locations, you make the handler class potentially available to all application servers on the node. New or changed handler classes are then located by each individual application server within the node when you restart that server.

What to do next

You are now ready to configure your handler for use (as part of a handler list) with service integration bus-deployed Web services.



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Sep 20, 2010 11:08:29 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-mp&topic=tjw_jaxrpc_handler_class
File name: tjw_jaxrpc_handler_class.html