EJB design: timer thread
i am creating threads(using Timer object) depending on the user logged in. if 4 users r logged in, i create 4 threads.
(ie. 4 different instances of Timer)
my problem is, when i cancel one thread all other threads gets cancelled. How do i prevent the other threads from being cancelled.
please let me know, if any body has idea on this.