READ Free Dumps For Oracle- 1z0-897
Question ID 4492 | Where can a developer specify confidentiality or integrity constraints on communications with a Enterprise Bean exposed as a JAX-RS root resource?(Choose one) |
Option A | A. As annotations on the EJB exposed as a root resource. |
Option B | B. In the deployment descriptor for the EJB exposed as a root resource. |
Option C | C. In the deployment descriptor for the web application that is hosting the JAX-RS resource. |
Option D | D. In the vendor-specific configuration file for the container that is hosting the JAX-RS resource. |
Correct Answer | C |
Question ID 4493 | Given this class: |
Option A | A. It is impossible, since JAX-WS requires that the underlying interaction be SOAP-based, and JAX-RS does not support SOAP. |
Option B | B. It is impossible, since JAX-RS does not support the same extension mechanism via JAX-WS Handlers that JAX-WS supports. |
Option C | C. It is possible, since the JAX-WS API can be used to create a client that uses a simple raw XML protocol to interact with a service at a given URL. |
Option D | D. It is possible, since a JAX-WS proxy Port type can be generated to use a simple raw XML protocol to interact with a service at a specific fixed URL. |
Correct Answer | C |