Hello, I'd like to know if restlets and servlets may work together.
I saw that there's a servlet adapter for using restlets in a tomcat
environment and that the servlet mapping must match /*.
>From shat I remember about servlets mapping, this should not prevent other
servlets from working in the container.
To better explain, if I introduce an other servlet, let's say TestServlet 
in the deployment descriptor and map it to the following url,
/ping/*

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?

If this is true, which restlet-servlet integration scenario might be
feasible?

May a sevlet perform some controller logic and then delegate to the restlet
engine or may they work together in order to serve different requests and
logic?

The restlet engine could provide resource's representations and the servlet
might provide some other logic that does not fit well with the restlet
implementation.

I don't know if I'm saying strange things and would like to have a piece of
advice from someone expert in the matter.
Thanks in advance.
Bye.
Antonio   
-- 
View this message in context: 
http://n2.nabble.com/restlet-can-work-together-with-servlets--tp1618705p1618705.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

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

Reply via email to