WebSphere MQ Everyplace queuemanagers can run within a servlet. For more information on writing servlets that use WebSphere MQ Everyplace queuemanagers, see the servlet section in the WebSphere MQ Everyplace System Programming Guide.
An example servlet that receives trace from the com.ibm.mqe.trace.MQeTraceToBinaryMidp trace handler is included with the example classes. It is examples.trace.MQeTraceServlet. Using this as an example, the following information explains how to configure it to work with WAS 4.0. Other application servers will require different steps.