* @param theObjects
* @throws JMSException
*/
public void handleRequest(ImplicitObjects theObjects) throws JMSException
{
MessageDrivenBeanImplicitObjects mdbImplicitObjects = (MessageDrivenBeanImplicitObjects) theObjects;
// If the Cactus user has forgotten to put a needed jar on the server
// classpath (i.e. in WEB-INF/lib), then the servlet engine Webapp
// class loader will throw a NoClassDefFoundError exception. As this
// method is the entry point of the webapp, we'll catch all
// NoClassDefFoundError exceptions and report a nice error message
// for the user so that he knows he has forgotten to put a jar in the
// classpath. If we don't do this, the error will be trapped by the
// container and may not result in an ... err ... understandable error
// message (like in Tomcat) ...
try
{
String serviceName =
getServiceName(mdbImplicitObjects.getMessage());
MessageDrivenBeanTestCaller caller = getTestCaller(mdbImplicitObjects);
// TODO: will need a factory here real soon...