READ Free Dumps For Oracle- 1z0-897
Question ID 4514 | Given the two classes: |
Option A | A. This is a valid example of two EJBs used as JAX-RS resources, one a root resource and the other a subresource. |
Option B | B. This is an invalid example, because EJBs that are to be used as JAX-RS subresources have to match the type of EJB of their "parent" resource. |
Option C | C. This is an invalid example, because singleton EJBs used as JAX-RS resources must explicitly state what locking strategy they will require. |
Option D | D. This is an invalid example, because the JAX-specification only allows root resource types to also be EJBs. |
Correct Answer | A |
Question ID 4515 | What is an accurate description of the handling of application exceptions thrown by a JAX-WS service endpoint? |
Option A | A. Application exceptions can be mapped to faults in WSDL. |
Option B | B. Application exceptions are NOT handled by JAX-WS SEI clients. |
Option C | C. Application exceptions are always propagated to JAX-WS clients as RemoteExceptions. |
Option D | D. Application exceptions are always propagated to JAX-WS SEI clients as WebServiceExceptions. |
Option E | E. Application exceptions are always propagated to JAX-WS SEI clients as SOAPFaultExceptions. |
Correct Answer | A |