I AM USING WEBSPHERE 4.0 AE. I HAVE A REQUIREMENT WHERE IN I WANT TO KEEP A LISTENER RUNNING RIGHT FROM THE TIME THE SERVER STARTS TILL THE SERVER IS STOPPED. IF THERE IS ANYTHING LIKE STARTUP CLASS IN WEBLOGIC, PLEASE TELL ME. THANKS IN ADVANCE KIRAN
Thanks<br /> <br />Kiran <br /> <br />SCEA, SCJP 1.4,<br /> <br />"First they ignore u, then they laugh at u, then they fight u, <br />then u will win<br /> <br />Mahatma Gandhi"
Rajesh Navduri
Ranch Hand
Joined: Jun 28, 2001
Posts: 31
posted
0
Hi, You can create a servlet and make it as load at start up. This will start and stop when you start and stop the server respectively.
Regds Rajesh
Kiran Kumar
Ranch Hand
Joined: May 18, 2001
Posts: 107
posted
0
hi thanks for the reply. but my problem is that i may have to get some of the data cached in the beans also. since a servlet cannot be called explicitly, i would like to make it a class which can be used any where. if there is anything like this it will be very useful for me.