Great ! This quick answer helps a lot! Thanks!


Jean-Baptiste Onofré wrote:
> 
> 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
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Jetty-inside-ServiceMix-%3A-how-to-use-it---tp22785117p22786921.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to