Howdy,

>Q1. Does tomcat serve any requests before
>ServletContextListener.contextInitialized finishes
>execution?

Not for the context of that listener.  Requests to that contexts are
only served after the contextInitialize() method is fired.

>Q2.Is it correct to say that the application has fully
>started at the end of
>ServletContextListener.contextInitialized(ServletContextEvent)

Depends on what you define as fully started.

If you have load-on-startup servlets, they will get initialized after
the contextInitialized() event of the listener.  In that case, it's not
correct to say the application has fully started after the
contextInitialized() event is done.

>Q3. Are the static blocks in the servlet classes run
>after ServletContextListener.contextInitialized.

Yes, after. 

>[1] I want to deploy axis services programmatically
>after application starts. This is done by an
>AdminClient contacting the server. But the problem is
>that the server is not yet up! Where do you think
>should I do this deployment?

Is your admin client running inside tomcat or outside?

Yoav Shapira
Millennium ChemInformatics

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to