but, my book say:for BMT session bean , developer need to make sure close transaction before the method end.
Why for CMT stateless session bean also need that?
I think for CMT bean we don't take care to end the transaction before the method end.
Originally posted by John Meyers:
Since its CMT the container will take care of the transaction boundary. So I guess thats true. With BMT however you better make sure you dont let transactions hanging around without closing them. Its legal to do so for stateful beans but not stateless beans.
SCJP1.2 ,SCJD1.5 , SCBCD1.3 ,SCWCD1.4