You can't use your own threads in ejbs.  It's against spec and doesn't work
with transactions, as you have discovered.

david jencks

On 2002.06.03 13:37:54 -0400 Patrícia Soares Canela wrote:
> Hi there!
> 
> I have this EJB, bean managed wich controls client's request and invokes
> other beans. 
> I'm lauching threads to invilke these other beans. 
> 
> Supose that I have this transaction that needs to resort to three
> diferent
> beans; supose that the second bean fails and transaction must be rolled
> back. 
> 
> Well, this isn´t happening! In fact, transaction is rolled back, but all
> previous data has been persisted in database. 
> 
> Is it because of using threads or is it something in transactions that
> I´m
> doing wrong.
> 
> 
> Thank you for your atention
> 
> Patrícia
> 
> 
> 
> 
> _______________________________________________________________
> 
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
> 
> 

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to