File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Hookup of Spring 2.5 with Restlet 2 m4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Hookup of Spring 2.5 with Restlet 2 m4" Watch "Hookup of Spring 2.5 with Restlet 2 m4" New topic
Author

Hookup of Spring 2.5 with Restlet 2 m4

Rahul Juneja
Ranch Hand

Joined: Aug 03, 2002
Posts: 425
I am trying to hookup spring with restlet 2 m04 and having issues with that. I have tried various approaches with "org.restlet.ext.spring.RestletFrameworkServlet" in web.xml and then defining a new file with the name of the restlet. but unfortunately this approach gives me some weird exception as follows.


Appreciated if somebody can give some pointers or clues of what can be wrong with this. also if there is another way to integrate spring with restlet, like if somehow i can configure spring in the old fashioned way and then get access to servlet context in the resource file so i can use that to get the beans in the resource file.

Appreciate any help on this.

Thanks,
Rahul


Rahul Juneja
ThoughtClicks - http://techlabs.thoughtclicks.com
Rahul Juneja
Ranch Hand

Joined: Aug 03, 2002
Posts: 425
I was able to pass through this as it was missing springwebmvc jar but i actually don;t need that because i am not using spring mvc instead writing plain servlet based restlet application with spring injection. so i may be i went into the wrong direction.

Can anybody give me any clues about how can do this in the spring 2.5 and restlet 2 m04 or m03 ?

Thanks,
Rahul
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hookup of Spring 2.5 with Restlet 2 m4