Hello,
Le 22/06/2010 18:14, [email protected] 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 Jetty extension jar. Is there an example
> somewhere I could follow?
To use a different connector than the internal, you have to add jar to
your classpath.
For jetty, add :
org.restlet.ext.jetty
and also :
- org.eclipse.jetty.ajp_7.0
- org.eclipse.jetty.continuation_7.0
- org.eclipse.jetty.http_7.0
- org.eclipse.jetty.io_7.0
- org.eclipse.jetty.server_7.0
- org.eclipse.jetty.util_7.0
- javax.servlet_2.5
Look in the readme.txt in restlet "lib" directory if you want to know
what are the dependencies between jar files.
I hope I have answered your question.
Regards,
Laurent.
>
> Thanks,
>
--
Laurent Rustuel,
Alten contractor for Genesys, an Alcatel-Lucent Company
-------------------------------------------------------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail and any files attached may contain
confidential and proprietary information of Alcatel-Lucent and/or its
affiliated entities. Access by the intended recipient only is authorized. Any
liability arising from any party acting, or refraining from acting, on any
information contained in this e-mail is hereby excluded. If you are not the
intended recipient, please notify the sender immediately, destroy the original
transmission and its attachments and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Copyright in this e-mail and any attachments belongs to Alcatel-Lucent and/or
its affiliated entities.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2625734