I've managed to get a simple webapp going with the Guice 2 + Restlet 2 + JSP unholy trifecta. (I believe Leigh Klotz was also trying to do the same thing).
It's based on your approach, Tim, with a custom Finder to inject/create resources with Guice and on Philippe Duchesne's approach to get JSPs working with Restlets by means of a wrapper servlet response object. Guice 2's JavaEE integration seems to recommend just mapping everything to its filter class inside web.xml and using a context listener to programmatically customise the filter's behaviour via a new ServletModule class. Restlet's JavaEE integration relies on its own ServerServlet that also needs to be mapped to everything. Getting the two to play nice with each other was difficult. I think someone on the Restlet side should look into making a ServerSerlet alternative that plays nice with Guice 2's filter/ServletModule approach. I'm not happy with my approach so I wouldn't recommend anyone else trying the combination for now. ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2294840

