Hi J. Matthew,

If you want to run Restlets as well as Servlets in the same Jetty container,
it is indeed better to use Jetty as a Servlet container and deploy Restlets
in the embedded mode.

In this case, all you need to do is use the ServletServer provided, see
details here:
http://www.restlet.org/faq#06

As for setting up standalone server connectors, it's generally very simple:
just put the connector JARs in the classpath and create a new Server
instance just like in the tutorial. You can also parametrize the connectors,
look at the Javadocs like:
http://www.restlet.org/docs/ext/com/noelios/restlet/ext/jetty/JettyServerHel
per.html

Best regards,
Jerome  

> -----Message d'origine-----
> De : J. Matthew Pryor [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 6 mars 2007 02:16
> À : [email protected]
> Objet : Jetty 6.1 support with other webapps configured
> 
> I am trying to work out how to have Restlet support for Jetty 
> 6.1 but  
> also be able to use other servlets/web apps for that same Jetty  
> instance.
> 
> I haven't had any luck finding instructions or examples of 
> how to set  
> up the Jetty 6.1 support (I assume its for a stand alone server) but  
> I am mostly interested in how to set up general support for servlets  
> using Jetty 6.1
> 
> I currently have Restlet working with Jetty 5.1 and the servlet 2.4  
> API extension. Is it the same approach? I seemed to run in to API  
> compatibility troubles with the servlet spec API, but I didn't look  
> too hard at it.
> 
> If anyone has pointers for good examples/documentation for :
> 
> * setting up the jetty 6.1 Restlet support as stand-alone
> * setting up jetty 6.1 Restlet support so I can also use other Java  
> webapps/servlets with the Jetty instance
> 
> that would be great. I have downloaded the RC4 source code 
> and looked  
> at all the tutorials and examples I can find but haven't had 
> any luck  
> with that or the mail list archives
> 
> Any help or pointers greatly appreciated
> 
> J. Matthew Pryor

Reply via email to