Hi Shubhasis,
import javax.transaction.UserTransaction
UserTransaction
ut=(UserTransaction)ctx.lookup(javax.transaction.UserTransaction);
keep u bean create methods b/n the ut.beagin(); and ut.commit(); better
dont write otherthan create methods
ex.
ut.begin();
dept.create(x,y,z,....);
emp.create(a,b,z,...);
ut.commit();
if any create/set method calls participating in transaction fails, whole
trasaction rolled back.
Reddy
===========================================================================
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".