Dear all,

I am using Restlet with an IoC container (i.e., Plexus) and I would like to ask 
some questions about the lifecycle of some Restlet objects in order to decide 
which policy I have to choose for their instantiation and how to handle them.

1) Is ServletServer.createApplication() called only once during application 
lifetime?

2) Is Application.createRoot() called only once during application lifetime? 
(Probably a positive answer to 1 will also answer this)

3) Are resource re-usable? I mean, if I have an instance of a Resource, may I 
call init() in order to make the same instance serve different requests?

Thanks for your help.

-Fabio

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

Reply via email to