Hi Jima,

Several users contributed integration examples with Spring, check the wiki:
http://wiki.restlet.org

We also had several discussion in this mailing list, you might want to read
them in the list archives: http://www.restlet.org/community/lists

To summarize:
1) Standalone mode: based on the Spring extension (SpringContext +
SpringFinder) and a standalone HTTP server connector.
2) Embedded mode A: based on the ServerServlet adapter and either the
SpringContext (via the WAR client and "war:///path/config.xml" scheme) or
via the usage of the ServletContext accessible when casting Restlet's
Context to ServletContextAdapter.
3) Embedded mode B: lighter version where Spring and the Servlet container
are not masked by the concept of Restlet Application. This requires the
creating of a special Servlet (maybe a Spring's HttpBeanServlet subclass)
and a bit of coding to convert Servlet's calls into Restlet's calls. In this
mode, no Restlet's Application is created, Restlets/Filters/Routers/Finders
are directly instantiated by Spring and configured like other Spring beans.
Of course you loose the Application services and the portability of your
Restlet code to other deployment environments.

We have a RFE open to better support the third integration mode and improve
the documentation in this area:
http://restlet.tigris.org/issues/show_bug.cgi?id=278

Best regards,
Jerome  
 
> -----Message d'origine-----
> De : Jim Alateras 
> Envoyé : vendredi 23 mars 2007 22:02
> À : [EMAIL PROTECTED]
> Objet : spring and restleta
> 
> I have just picked up restlet and have seen the spring-2.0 extension 
> module in 1.0rc6. Do you have any more information on  how I may 
> configure multiple resources in a spring application context.
> 
> I have the integration with tomcat working but just need the 
> integration 
> with spring to get me up and running
> 
> Are you able to point me to some more information.
> 
> I have sent a request to participate in the project.
> 
> cheers
> </jima>
> 

Reply via email to