Hi does any body know how can you run code from a class (not from a servlet) before the web server is actualy up and running?
I'm using WAS (WebSphere Application Server) 5.0.
Thank's
Yair Ogen
-
How to run code before server starts running? (2 messages)
- Posted by: Yair Ogen
- Posted on: October 15 2003 07:47 EDT
Threaded Messages (2)
- How to run code before server starts running? by David Rabinowitz on October 15 2003 09:06 EDT
- RE: How to run code before server starts running? by Valery Silaev on October 17 2003 10:08 EDT
-
How to run code before server starts running?[ Go to top ]
- Posted by: David Rabinowitz
- Posted on: October 15 2003 09:06 EDT
- in response to Yair Ogen
Search for IBM's non standard startup beans. they might be your answer.
David -
RE: How to run code before server starts running?[ Go to top ]
- Posted by: Valery Silaev
- Posted on: October 17 2003 10:08 EDT
- in response to Yair Ogen
Probably ServletContextListener sufficient for you?
Also, AFAIK, WS5 is build on JMX, so take a look at corresponding MBean(s) and their dependencies (this works perfectly with JBoss :-)
Regards,
VS