Rob, How are you registering the ServerServlet with the embedded Jetty that GWT is launching?
Bryan On Jan 1, 2010, at 9:18 AM, Rob Heittman wrote: > We should write some now that GWT 2.0 is not a moving target any more. When > working with Jetty and Dev Mode under 2.0 trunk, I have always just used the > ServerServlet to attach Restlet to a path. I do not believe it is really > possible any more to attach Restlet to the root of the container (/), at > least not without surgery to GWT's DefaultServlet, which in turn is a > modified version of Jetty's that understands how to handle GWT modules ... > and I hope we don't have to attack that. > > All I do in practice, in my GWT 2.0 client applications, is make sure the > root of any RESTful resources is configurable, and set it differently in Dev > Mode than in production. Then I usually attach Restlet (usually a redirector > to my "real" Restlet server side running somewhere else) to /r under GWT > using ServerServlet, same as any other JEE container. > > If that practice sounds sane to everybody else, I'll write it up. > > On Fri, Jan 1, 2010 at 9:56 AM, Bryan Hunt <bh...@mac.com> wrote: > I'm starting to look at using Restlet 2.0 with GWT 2.0. The docs for setting > up a project: > > http://wiki.restlet.org/docs_2.0/13-restlet/275-restlet/144-restlet/186-restlet.html > > talk about setting up the old GWT Hosted Mode. The new Dev Mode seems to be > using Jetty instead of Tomcat, and there doesn't seem to be any web.xml files > for configuring the shell servlet. Are there any new docs on how to set up a > project using Restlet 2.0 with GWT 2.0 Dev Mode? > > Bryan > > ------------------------------------------------------ > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2434081 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2434093