Page 1 of 1

Question 2

Posted: Sat Feb 07, 2015 9:28 am
by mhmd_fyk
A developer writes an interceptor class containing an AroundInvoke method, and applies it to thelocal business interface method of a stateless session bean:11. @Interceptors(FooInterceptor.class)12. public void bar() ()A client obtains a reference to the beans local business interface, and calls the method bar twotimes from the same thread. Assuming that the container dispatches both cell to the samestateless session bean instance, how many instances of the FooInterceptor class will be used?

A.0

B.2

C.1

D.Either 1 or 2

the answer is 2 why ????? can you help me

Re: Question 2

Posted: Sat Feb 07, 2015 11:46 am
by admin
The question id that you specified in the title does not bring up the same question in our question bank. Please quote your source and specify what exactly do you not understand.

Also, please create a new thread for a new question instead of adding your post to a different question's thread.

thank you,
Paul.