Saturday, December 28, 2002 10:44 AM
If the thread calls the session bean, then a failure in the session bean will generate an exception, which can be caught in the normal way (with a
If the session bean spawns a thread, then that's a violation of the EJB contract, and you need to figure out another way to do things, e.g. Message Beans.
As for how to "keep track", search the Threads FAQ for basic programming information about how to share data between threads.