with Websphere EJB, where can i put a piece of code which must be processed as soon as possible after starting Websphere ?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Damien_Azambourg
Posted On:   Thursday, May 3, 2001 03:58 AM

with Websphere, where can i put a piece of code which must be processed as soon as possible after starting Websphere ?


Currently, this piece of code is a static bloc. It's not pretty and causes some problems under vaj when doing some tasks.



Is there a class or a method provided by Websphere where i can put my piece of code ? a kind of "post starting" method, it would be cleaner.


Thanks


Damien

Re: with Websphere EJB, where can i put a piece of code which must be processed as soon as possible after starting Websphere ?

Posted By:   Devaraj_A  
Posted On:   Friday, May 4, 2001 11:55 PM

One way of doing it is the create a servlet. There is an option in Servlets for loading at start up. Its set when u add a servlet to websphere
About | Sitemap | Contact