How can I initialize my loggers and property readers after the JAX-WS
initialization?
I tried this but did not work. Am I missing something? My goal is to initialize everything that my webservice needs after deployment. Is this possible? Thanks
public class ContextListener implements ServletContextListener{
@Override
public void contextDestroyed(ServletContextEvent arg0) {
// TODO Auto-generated method stub
}
@Override
public void contextInitialized(ServletContextEvent arg0) {
// TODO Auto-generated method stub
System.out.println("Initialize some things");
}
}
PS
I used the @WebService
annotation approach in creating my WS.