For SFSB yes, For SLSB will be in the same function( Begin().......Commit()or 
Rollback()).

Albert Pi
Corp IS System Delivery
516-803-3762


>>> Kirill Mikhailov <[EMAIL PROTECTED]> 07/30/02 06:49AM >>>
Hi!

I have the SessionBean with Bean Managed transaction mgmt with two business
methods
for example : getHeader(), getData()
Client should call getHeader(), then call getData()
Can I issue UserTransaction ut = context.getUserTransaction(); ut.begin() in
the begining of the first method
and ut.commit() in the end of second method?
Is this correct?
All I want is to prevent passivation of the Bean between these calls!

Thanx in advance,
Kirill Mikhailov

==========================================================================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