This content has been marked as final.
Show 3 replies
-
1. Re: Issue with activiation
sgturner Oct 17, 2002 11:56 PM (in response to sseaman)The EJB specs specifically say that you should not spawn threads in an EJB. This is a big violation, and as you can see, your EJB does not work.
-
2. Re: Issue with activiation
sseaman Oct 18, 2002 9:01 AM (in response to sseaman)I was not aware of that.
How does one then create an object that has threads that can be accessed via EJB?
Thanks! -
3. Re: Issue with activiation
sgturner Oct 18, 2002 12:00 PM (in response to sseaman)I don't know your requirements, so its hard to say. You may want to consider making your object with the multiple threads into an MBean. Methods on MBeans can be called from within EJBs.