Hi Antonio,

Yes, they can work together very well.  You needn't mount Restlet's
ServerServlet at /*.  In fact, you can mount your Restlet-powered REST URI
space anywhere you like.  You can use Servlet filters etc. in front of the
Restlet space.  Generally, you can interoperate with the entire Restlet
powered space as if it is a single Servlet.

On Fri, Dec 5, 2008 at 10:02 AM, antoniojg <[EMAIL PROTECTED]> wrote:

> a request http://somehost:8080/web_root/ping should be served by a
> TestServlet instance and so the restlet engine should not be invoked.
>
> Am I wrong?


You're right.  Sometimes it is a little difficult to bridge the two ideas
conceptually -- e.g. a Servlet that stows information in the Session, and
then expects a Restlet resource to access it (but REST is stateless, so the
session concept is not native).

I think most of the list participants would find it easiest to advise on a
concrete example of what you want to do.  Rather than making incremental
suggestions about the architecture, people can recommend from scratch
successful solutions to similar needs.

- R

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=980142

Reply via email to