Oracle
1Z0-895 · Question #38
1Z0-895 Question #38: Real Exam Question with Answer & Explanation
Sign in or unlock 1Z0-895 to reveal the answer and full explanation for question #38. The question stem and answer options stay visible for context.
Question
An ejb-jar also contains three interceptor classes: AInt, BInt, CInt. Each interceptor class defines an AroundInvoke method called intercept. The ejb-jar also contains a stateless session bean FooBean with a local business interface Foo that declares a method foo (): 10. @Stateless 11. @Intercaptors ({CInt.class, BInt.class}) 12. public class FooBean implements Foo { 13. 14. public void foo () {} 15. 16. } The ejb-jar contains a META-INF/ejb-jar.xml file with an <interceptor-binding> section: <interceptor-binding> <ejb-name>FooBean</ejb-name> <interceptor-order> <interceptor.class>com.acme.AInt</interceptor-class> </interceptor-order> </interceptor.binding> What is the interceptor order when the business methodfoo() is invoked?
Options
- AAInt
- BAInt, CInt, BInt
- CCInt, BInt, AInt
- DAInt, BInt, CInt
Unlock 1Z0-895 to see the answer
You've previewed enough free 1Z0-895 questions. Unlock 1Z0-895 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.