David, this should be fine, as per the init() and destroy() methods.

regards,
David.


On Mon, 19 Mar 2001, David Wall wrote:

> I know that in the EJB model, it's not correct that beans launch their own
> threads.
> 
> Is that also true for webapps in tomcat?  Is there a portability issue if I
> have a servlet launch it's own thread for doing application-based
> housekeeping chores, such as listening for new messages via JMS and
> POP/IMAP, or periodically cleaning up "old" database entries, etc.?
> 
> Thanks,
> David



David Bullock
LISAsoft Project Lead
Sun Certified Programmer for the Java 2 Platform 
 
 email: [EMAIL PROTECTED]
mobile: +61 4 0290 1228

"The key ingredients of success are a crystal-clear goal, 
a realistic attack plan to achieve that goal, 
and consistent, daily action to reach that goal."

Steve Maguire, "Debugging the Development Process". 

LISAsoft
http://www.lisasoft.com/

Adelaide                  Sydney
--------------------      ------------------------
38 Greenhill Rd           Level 3, 228 Pitt Street
Wayville S.A. 5034        Sydney NSW 2000
Australia                 Australia

PH  +61 8 8272 1555       PH  +61 2 9283 0877
FAX +61 8 8271 1199       FAX +61 2 9283 0866
--------------------      ------------------------

Reply via email to