Greetings,

        First of all, thank you for your great project!
We are using Restlet in our company for a testing REST web service. We 
have problems with the lack of documentation. Could you provide some 
complete samples( for integrating spring with restlet) ?
We must use spring with restlet. All daos and pojos are outside of 
project within a jar.
I didn't find how to get a dao bean using a SpringContext (configuration 
xml file is settled into web.xml, so no need to initialize a spring 
context using ClassPathXmlApplicationContext).

I've got  the SpringContext like that
*SpringContext springContext = new SpringContext(getContext());*

into the application class ( it extends org.restlet.Application).


Could you tell me if this is the right way? Because I can not get any 
bean using the context like that. I receive an Exception 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean 
named 'bean_name' is defined, for any "bean_name" that I use, although 
beans are correctly defined into the db jar.


I have read 
http://www.mail-archive.com/[email protected]/msg01069.html, 
and expected the link

http://www.mihir.co.uk/downloads/rest.zip to work, but it doesn't. I am
using now a snapshot version of Restlet 1.1. 

Thank you,
MOCANU Laura

Reply via email to