Just starting with Restlet and Spring in Tomcat container.  I have a Spring
MVC web application to which I wish to add Restlet support on some URL
paths.  I have the Restlet In Action MEAP book.  I set up
org.restlet.ext.servlet.ServerServlet in web.xml to init either a restlet
application or component.  All of that works fine.

I want to use Spring to wire beans from my service layer into restlet
applications and components.  I haven't found an example of how to go about
this.  All existing examples show calling 'new' on components and
applications, or having the ones declared in web.xml automatically
instantiated.  How can I take over instantiation of restlet components by
using Spring?

Thanks,

Richard
-- 
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/How-to-inject-a-Spring-bean-service-into-a-Restlet-component-tp5314211p5314211.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

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

Reply via email to