Did this work either way, I tried following the example provided by Irfan 
Jamadar with Restlet 2 m04. but for some reason  it is not working.

Can you give a little bit more guideline of how to integrate both.

> Hi there,
> 
> Another option is to inject those services into your parent Restlet
> application and then to retrieve them from your resources via the
> getApplication() method plus a cast.
> 
> Best regards,
> Jerome Louvel
> --
> Restlet ~ Founder and Lead developer ~ http://www.restlet.org
> Noelios Technologies ~ Co-founder ~ http://www.noelios.com
> 
> 
> 
> -----Message d'origine-----
> De : [email protected] [mailto:[email protected]] 
> Envoyé : vendredi 7 août 2009 12:41
> À : [email protected]; Rhett Sutphin
> Objet : RE: Re: Spring Intergation. Spring managed resources
> 
> Hello,
> 
> Yes, I know "Spring**" objects in the restlet API but I don't now how to use
> them with my current configuration (as she as described into the restlet
> wiki [http://wiki.restlet.org/community/164-restlet.html # Integration with
> Spring 2.0 and Apache Tomcat 5.5 by Irfan Jamadar]):
> 
> -- 8< [ servicesContext.xml ] --------------
> <bean id="manager" class="web.services.rest.impl.restlet.RestManager">
>               <property name="resourceMappings">
>                       <map>           
>                               <entry key="/form"
> value="web.services.rest.impl.restlet.resources.FormsResource" />
>                               <entry key="/form/{id}"
> value="web.services.rest.impl.restlet.resources.FormResource" />
>                        </map>
>               </property>
>       </bean>
> 
> -- 8 < [ web.xml ] -------------------------
> <context-param>
>               <param-name>org.restlet.application</param-name>
>       
> <param-value>web.services.rest.impl.restlet.RestApplication</param-value>
>       </context-param>
>       <servlet>
>               <servlet-name>RestServlet</servlet-name>
>       
> <servlet-class>org.restlet.ext.servlet.ServerServlet</servlet-class>
>       </servlet>
>       <servlet-mapping>
>               <servlet-name>RestServlet</servlet-name>
>               <url-pattern>/services/*</url-pattern>
>       </servlet-mapping>
> 
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=23812
> 46

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2394365

Reply via email to