Re: Router.attach "/" and Router.attach "" -- what's the difference?

2008-05-24 Thread Rob Heittman
ServerServlet is currently not designed to do this. In its nominal use case, there's nowhere for an existing Application instance to come from -- the ServerServlet is the actor responsible for instantiating all the Restlet plumbing from scratch. What I would do here (1.1) is to initialize ServerSe

Re: Router.attach "/" and Router.attach "" -- what's the difference?

2008-05-24 Thread Hendy Irawan
I guess it boils down to the question: How do I properly specify a Restlet Application *object* (instead of classname) to a Restlet Servlet object? On Sat, May 24, 2008 at 3:05 PM, Hendy Irawan <[EMAIL PROTECTED]> wrote: > My root question is, considering that I have three objects: > >1. Ht

Re: Router.attach "/" and Router.attach "" -- what's the difference?

2008-05-24 Thread Hendy Irawan
My root question is, considering that I have three objects: 1. HttpService object (osgi) 2. A Servlet object -- a subclass or instance of noelios.ext.servlet.ServerServlet 3. A Restlet Application object What is the proper way to, and questions: 1. Hook the HttpService to the Serv