1 bean is activated 2 afterBegin is called 3 business method is called 4 beforeCompletion is called 5 transaction is committed 6 afterCompletion is called
Sawan
Sawan<br />SCJP,SCWCD,SCBCD<br /> <br />Every exit is an entry somewhere.
1 bean in "ready state" 2 transaction begins 3 afterBegin is called 4 business method is called 5 beforeCompletion is called 6 transaction is committed or rolledback 7 afterCompletion is called
Thanks for the replies. But still I am not very clear.
1 bean in "ready state" 2 transaction begins 3 afterBegin is called [I had this understanding that afterBegin is called after the business method call. Please confirm that afterBign call will be before business method.] 4 business method is called 5 beforeCompletion is called [This will be called only if the transaction will commit. Am I right?] 6 transaction is committed or rolledback 7 afterCompletion is called
sawan
Sawan<br />SCJP,SCWCD,SCBCD<br /> <br />Every exit is an entry somewhere.