|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
AjaxServletConnector | A servlet connector that binds to the container and makes a configured Bayeux available to dispatchers and receivers. |
MuleAjaxServlet | Wraps the ContinuationCometdServlet servlet and binds the Bayeux object to
the Mule AjaxServletConnector . |
A AJAX transport allows Mule applications to send a receive events to the web browser. This connector bind to an existing Servlet Container that Mule is running within. For this to work, the container (which culd be any servlet container including Tomcat, Jetty, Resin, etc) needs to have the Mule AJAX servlet configured and mapped-
<servlet>
<servlet-name>ajax</servlet-name>
<servlet-class>org.mule.transport.ajax.container.MuleAjaxServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ajax</servlet-name>
<url-pattern>/cometd/*</url-pattern>
</servlet-mapping>
The Mule AJAX transport uses the excellent Jetty Bayeux implmentation.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |