Re: using Thread object in Tomcat

2005-01-03 Thread David Boyer
Rather than creating a class that extends Thread you should create a class that implements Runnable and construct a new Thread using your Runnable. You'd extend Thread if you were adding some extended functionality to the Thread class, otherwise use Runnable. >>>[EMAIL PROTECTED] 01/03 10:11 a

using Thread object in Tomcat

2005-01-03 Thread Mark
Hi, I'd like to check if it a good way to implement user's notifications using Thread object? What I would like to do is to have a singleton object (extends Thread) that will "wake up" every minute and do something( let's say go to data base, take to another 3rd-party system, etc) and once the co