Hello,

There are too many articles about threading in EJB here to digest. My problem is 
simple, in my EJB bean method, I just want to do a simple
 Thread.sleep(1000) to suspend for 1 second. I know it violate EJB spec. But it 
doesn't cause my error. The problem is it doens't sleep at all.

Another question is about stateful session bean, In my EJB, I get a statefull SB's 
handle to sending it out to another process via JMS. Now I have two thread to make 
call to same stateful SB. I was told this is illegal. I did get 
InvalidTransactionException:Corba Invalid Transacition.
How can I achieve my goal then?

Much Thanks,
-Simon

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to