Announcement Announcement Module
Collapse
No announcement yet.
Restlet, Spring and REST support Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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>

    Comment


    • #3
      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

      Comment

      Working...
      X