Hello,

In fact, in my previous answer, I give you the different possibilities. 
The servlet listener option could be used if you want to externalize 
your init processing from your restlet application. If not, using your 
application constructor seems to be suitable.

Thierry
> Do you say use (the last option):
>
> <listener>
>      <listener-class>
>          example.ServletContextExample
>      </listener-class>
> </listener>
>
>
> public class ServletContextExample implements ServletContextListener
>
> and override contextInitialized?
>
> The constructor of my Restlet application is init with the firs call, too. 
> Thanks a lot.
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3033520

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

Reply via email to