Dec 29, 2004 #1 ardxsz Programmer Joined Dec 21, 2003 Messages 2 Location SG Hi, Im using weblogic 5.1 Is there anyway to auto start up another java application/thread when the weblogic server startup?
Hi, Im using weblogic 5.1 Is there anyway to auto start up another java application/thread when the weblogic server startup?
Dec 29, 2004 #2 sedj Programmer Joined Aug 6, 2002 Messages 5,610 There are several ways. Two favourites are : - Write your own JMX MBean to be loaded by the container. - Write a servlet to be loaded by the container. -------------------------------------------------- Free Database Connection Pooling Software http://www.primrose.org.uk Upvote 0 Downvote
There are several ways. Two favourites are : - Write your own JMX MBean to be loaded by the container. - Write a servlet to be loaded by the container. -------------------------------------------------- Free Database Connection Pooling Software http://www.primrose.org.uk
Dec 29, 2004 Thread starter #3 ardxsz Programmer Joined Dec 21, 2003 Messages 2 Location SG Hi, Thanks for the reply. Do you mean override one of the HttpServlet method so that it will do something when the servlet is loaded? is it init()? Thanks i think i know what to do.. Upvote 0 Downvote
Hi, Thanks for the reply. Do you mean override one of the HttpServlet method so that it will do something when the servlet is loaded? is it init()? Thanks i think i know what to do..
Dec 29, 2004 #4 sedj Programmer Joined Aug 6, 2002 Messages 5,610 Well, you write a servlet that extends HttpServlet, and then, yes, use the init() method to do what you want. -------------------------------------------------- Free Database Connection Pooling Software http://www.primrose.org.uk Upvote 0 Downvote
Well, you write a servlet that extends HttpServlet, and then, yes, use the init() method to do what you want. -------------------------------------------------- Free Database Connection Pooling Software http://www.primrose.org.uk