Hi i am unable to understand the following ingo from Head First book
page 196
In stateful session beans
why does
ejb activate, ejbremove, ejbpassivate, ejbcreate cannot do cmt(container managed transaction) transaction METHODS.
(SessionContext.setRollBackOnly, SessionContext.setRollbackOnly are not allowed)
but why can it do bmt transaction roll backs, (u can get
SessionContext.getUserTransaction().start(),
SessionContext.getUserTransaction().commit(), ... etc is allowed)
CAN U GIVE ME SOME EXAMPLE, THAT WOULD BE GREAT.
THANK YOU FOR YOUR TIME AND I REALLY APPRECIATE IT.
THANKS
SID