Re: Jetty integration

2010-06-26 Thread Thierry Boileau
Hello, you can find more details about connectors here: http://wiki.restlet.org/docs_2.0/13-restlet/37-restlet.html Best regards, Thierry Boileau Hello, > Le 22/06/2010 18:14, webp...@tigris.org a écrit : > > I've searched the mailing list archive and the documentation but didn't > find a satisf

Re: Jetty integration

2010-06-24 Thread Laurent Rustuel
Hello, Le 22/06/2010 18:14, webp...@tigris.org a écrit : > I've searched the mailing list archive and the documentation but didn't find > a satisfactory answer to my question. > > If I have a ServerResource, what's the proper way to make it available as a > handler to Jetty? I've included the Jet

Re: Jetty integration help

2009-11-19 Thread Thierry Boileau
Hello Martin, One way is to put the jar of the desired connector before the others in the classpath. You can also set the list of servers connectors registered on the current Engine instance: Engine.getInstance().getRegisteredServers(). In order to use the Jetty connector, instantiate the serv

RE: Re: Jetty integration help

2009-11-19 Thread martin
Hi, If for any reason (let say for comparing performances) I want to have both Jetty and Simple on my path, how should I force the selection of one server among all avaialble server? Regards, Martin -- http://restlet.tigris.org/ds/viewMessage

Re: Jetty integration

2009-07-21 Thread Tony Bigbee
Thanks, Jerome. After my first posting, I was able to experiment and resolve this (using 2.0m3). One thing that slowed me down is that my IDE automatically created a couple of imports for Server and another class I no longer remember that were not Restlet classes. I also didn't understand that h

RE: Jetty integration

2009-07-20 Thread Jerome Louvel
Hi Tony, Do you have the "org.restlet.ext.jetty.jar" and all its dependencies (see the "lib/readme.txt" file) in your classpath? If so, it should be detected by the engine and used instead of the internal HTTP server. There is really nothing much to do... Which version of Restlet are you using? B

Re: Jetty integration help

2009-07-08 Thread Thierry Boileau
Hello Tony, using a special connector is not a matter of code. It should work by completing the classpath, as mentionned in the user guide:http://wiki.restlet.org/docs_1.2/37-restlet.html. In your case, add the following jar to the classpath: - org.restlet.ext.jetty.jar (jar of the jetty exten