Hi,

As ServiceMix is a pure Spring application, you can define a bean that use Jetty and define it in the servicemix.xml. Another way to implement that is to create this bean and deploy using servicemix-bean service engine.

The bean contains code like :

Server server = new Server(8080);
Context root = new Context(server, "/", Context.SESSIONS);
root.addServlet(new ServletHolder(new MyServlet("foobar")), "/");
server.start();

You can't use the servicemix-http binding component directly to deploy servlet (in fact you can, but it's tricky).

Regards
JB

jcamus wrote:
Hi!
How can I use jetty inside serviceMix? Can I use jetty as a servlet server
inside servicemix 3.3?
Can I use the servicemix-http (which is unfortunately very complex to use
and not documented) to
implement servlet servers ?

Regards

Reply via email to