Oracle
1Z0-897 · Question #55
Given the two classes: Choose the option that best evaluates the example:
The correct answer is A. This is a valid example of two EJBs used as JAX-RS resources, one a root resource and the other. See the full explanation below for the reasoning.
Question
Given the two classes:
Choose the option that best evaluates the example:
Options
- AThis is a valid example of two EJBs used as JAX-RS resources, one a root resource and the other
- BThis is an invalid example, because EJBs that are to be used as JAX-RS subresources have to match
- CThis is an invalid example, because singleton EJBs used as JAX-RS resources must explicitly state
- DThis is an invalid example, because the JAX-specification only allows root resource types to also be EJBs.
How the community answered
(45 responses)- A71% (32)
- B4% (2)
- C7% (3)
- D18% (8)
Community Discussion
No community discussion yet for this question.