Section 6.6.1  and section 6.8.2 tables 2 and 3, show that the bean has
accesss to the UserTransaction through the SessionContext in
setSesssionContext( ) method.  I don't think this is correct. Why would you
need access to the UserTransaction in the setSessionContext method? This
would be really bad in a statless bean that manages its own transactions,
because it could begin a transaction in the setSessionContext befor its ever
assigned to a bean instance.  Remember, the setSessionContext can be called
anytime between the newInstance and ejbCreate() so you could end up with a
transaction that is never commited.

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