dcsimg
Passing transaction context from a EJB to a java class
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   daljit_singh
Posted On:   Wednesday, June 6, 2001 04:48 PM

I have an EJB (lets call it bean A) that calls a method in a simple java class. This class in turns instantiates another EJB (lets call it bean B). So my question is: If a transaction is started in bean A and needs to be propagated to bean B, is the transaction context passed from bean A to bean B through the simple class. Does the container take care of propagating the transaction to the simple class?

Re: Passing transaction context from a EJB to a java class

Posted By:   dipali_Kucheria  
Posted On:   Tuesday, June 19, 2001 11:03 PM


What do you mean by simple class ?
Anyways...in the scenario described above ..calling bean B from bean A the transaction is propagated to bean B by the container itself . It may not if certain transaction properties are set for bean B.

About | Sitemap | Contact