posted 9 years ago
I have a senario where some action thats needs to be done when the application is initializing. So I can do this is ContextInitialized method of contextlistener. But the problem is that, the code which i write in the method is depended on some other deployed application which exists on the same server. So action is successful only when the other application is deployed first. In case the other application is not deployed, the context initialized method fails. So is there any context there is shared among all the applicatoins in an application server or what is the workaround for this.