Results 1 to 3 of 3

Thread: Restlet, Spring and REST support

  1. #1
    Join Date
    Mar 2007
    Posts
    6

    Default Restlet, Spring and REST support

    Hi all,

    I'd like to announce that we have just improved the Restlet integration with Spring. Based on the feed-back of several Spring users in our mailing list, we now support two main modes, including one where Spring is fully controlling the instantiation of Restlet Resources, Representations, Finders, Routers, etc.

    The integration is now documented in our FAQ:
    http://www.restlet.org/documentation/1.0/faq#23

    See also the Javadocs of our Spring extension:
    http://www.restlet.org/documentation...e-summary.html

    I've also updated the related Spring RFE ("REST support"):
    http://opensource.atlassian.com/proj...2#action_22907

    Best regards,
    Jerome Louvel
    http://www.restlet.org

  2. #2
    Join Date
    Feb 2008
    Location
    India
    Posts
    5

    Default About restlet apllication

    i am new to this concepts.I was trying to find out the flow of the RestServlet
    roughly i could figure out but still confused.

    if i configure something like this in my web.xml what will be the triggering
    point and how things starts up.

    <context-param>
    <param-name>org.restlet.application</param-name>
    <param-value>com.rest.app.RestApplication</param-value>
    </context-param>

    <servlet>
    <servlet-name>RestServlet</servlet-name>
    <servlet-class>com.rest.servlet.ServerServlet</servlet-class>
    </servlet>

    <servlet-mapping>
    <servlet-name>RestServlet</servlet-name>
    <url-pattern>/*</url-pattern>
    </servlet-mapping>

  3. #3
    Join Date
    Mar 2007
    Posts
    6

    Default

    Which version of Restlet are you using? I suggest trying the recent Restlet 1.1 RC1 version or a snapshot build.

    You can check this package for Restlet-Spring integration in a Servlet container: com.noelios.restlet.ext.spring

    You can also check our documentation page in our wiki:
    http ://wiki.restlet.org/docs_1.1/g1/13-restlet/29-restlet/99-restlet/59-restlet.html

    Best regards,
    Jerome Louvel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •