dev@glassfish.java.net

sth doubt about the postInvoke of EJB Container

From: Wu Jie <wujie_at_cn.fujitsu.com>
Date: Tue, 12 Mar 2013 12:24:01 +0800

Hi Marina
CC)Dev team

I found that there is some change about the processing sequence of
postInvoke of EJB Container between v2.x and v3.x

the processing sequence in v2.x as following.
===
Tx's postInvoke

InvocationManager's postInvoke
===

but in v3.x the processing sequence is reversed as following.
===
InvocationManager's postInvoke

Tx's postInvoke
===

there is some special consideration about the change?
#seems that the simple optimization(refactor) for redundant code

I think that v2's processing sequence is more reasonable rather than
v3 considering the ejb(CMT)'s invocation(the flow figure is attached).

Thanks
wujie



ejb_cmt__process.png
(image/png attachment: ejb_cmt__process.png)