Valid 1Z0-895 Dumps shared by ExamDiscuss.com for Helping Passing 1Z0-895 Exam! ExamDiscuss.com now offer the newest 1Z0-895 exam dumps, the ExamDiscuss.com 1Z0-895 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 1Z0-895 dumps with Test Engine here:
A developer writes an interceptor class containing an AroundInvoke method, and applies it to the local business interface method of a stateless session bean: 11. @Interceptors(FooInterceptor.class) 12. public void bar() () A client obtains a reference to the bean's local business interface, and calls the method bar two times from the same thread. Assuming that the container dispatches both cell to the same stateless session bean instance, how many instances of the FooInterceptor class will be used?
Correct Answer: B
Explanation/Reference: You can specify one nonbusiness method as the interceptor method for a stateless or stateful session bean. Each time a client invokes a session bean business method, OC4J intercepts the invocation and invokes the interceptor method. Reference: Configuring an Around Invoke Interceptor Method on an EJB 3.0 Session Bean