as the call to this bean is in clients transaction, does that mean the mandatory requirement for this method is satisfied?? how can the trsansaction in the client propagate to the container?? how is the info that tne call is in a transaction is propagated to the container??

thank you vary much for ur time. sid

Prashu Negu

Greenhorn

Posts: 11

posted 11 years ago

If called bean is CMT(as in ur case), yes it is statisfied. In case it is BMT, caller tx will be suspended. Regarding carrying the tx info, it is the container's job and thats why we pay so much for app servers.

Praveen Kumar Mathaley

Ranch Hand

Posts: 45

posted 11 years ago

propagation of transaction from remote client to the bean depends on the client,if your client implements JTS ( or your client runs in a container which take cares of the transaction i.e does the work of JTS for you...) then the transaction is propagated. Note: The client and container should support distributed transactions... All the application server's don't support distributed transactions...