Oracle
1Z0-895 · Question #65
An enterprise developer needs to modify the order of interceptor method execution specified by the Bean Provider, but does NOT have access to the bean's source code. No deployment descriptor was…
The correct answer is E. The Application Assembler can add a deployment descriptor to the ejb-jar that includes interceptor binding. See the full explanation below for the reasoning.
Question
An enterprise developer needs to modify the order of interceptor method execution specified by the Bean Provider, but does NOT have access to the bean's source code. No deployment descriptor was provided in the EJB jar delivered by the Bean Provider. Which represents the solution to this problem?
Options
- ANo solution is possible under these conditions.
- BThe Deployer can add metadata annotations to the ejb-jar.
- CThe Application Assembler can add metadata annotations to the ejb-jar.
- DThe System Administrator can add interceptor binding information at runtime, using vendor- specific tools.
- EThe Application Assembler can add a deployment descriptor to the ejb-jar that includes interceptor binding
How the community answered
(45 responses)- A11% (5)
- C4% (2)
- D2% (1)
- E82% (37)
Community Discussion
No community discussion yet for this question.