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
Question 2
Moderator: admin
-
- Posts: 2
- Joined: Sat Feb 07, 2015 8:59 am
- Contact:
Question 2
Last edited by admin on Sat Feb 07, 2015 11:45 am, edited 1 time in total.
Reason: removed qid reference from title
Reason: removed qid reference from title
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: Question 2
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.
Also, please create a new thread for a new question instead of adding your post to a different question's thread.
thank you,
Paul.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: No registered users and 70 guests