Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto start an application in weblogic

Status
Not open for further replies.

ardxsz

Programmer
Dec 21, 2003
2
SG
Hi,

Im using weblogic 5.1

Is there anyway to auto start up another java application/thread when the weblogic server startup?

 
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
 
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..
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top