About Question enthuware.oce-ejbd.v6.2.609 :

Moderator: admin

Post Reply
himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

About Question enthuware.oce-ejbd.v6.2.609 :

Post by himaiMinh »

For chapter 12 of JSR 318 , I don't see any specification saying that aroundInvoke method runs in the same transaction context of the business method.

admin
Site Admin
Posts: 10386
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.609 :

Post by admin »

It is implicit. If you look at tables such as the one in 4.6.1, you will see that business method interceptor methods are always clubbed with the business method. They have the same scope as the business method.
The specification doesn't say anywhere that they are executed in a different transaction context either.

Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests