That's not really the intent of SSBs. There is no notion of being able to "kick off" a Bean that wakes up periodically and does *something*. Stateless session beans are designed to be something that a remote or local client interacts with. The container that houses the SSB is responsible for (amoung other things) life-cycle management. So if the problem that is being solved involves remote client interaction and you needed a highly available, fault tolerant environment in which to deploy that logic... EJBs are a good way to go. If however, you wish (or have a need) to run a periodic management task, you might want to look into an EJB container that has JMX capabilities. JBoss' foundation is JMX and other ejb containers support it to a limited extent, i.e. Weblogic. See JMX->timer service.
hope this helps, peter On Wed, 20 Mar 2002 10:52:07 -0500 [EMAIL PROTECTED] wrote: > Hi! This is a newbie question. How to start a housekeeping bean > (stateful/stateless) when the container is started? > > Thanks! > > ========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff EJB-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". Peter Braswell Utopian Software [EMAIL PROTECTED] 757.560.8867 =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
