READ Free Dumps For Oracle- 1z0-897
Question ID 4494 | Given that a web service endpoint is based on the stateless session EJB: |
Option A | A. Only EJB clients must be in role A. |
Option B | B. Only Web Service clients must be in role A. |
Option C | C. Both EJB and web service clients must be in role A. |
Option D | D. Both EJB and web service clients must NOT be in role A |
Correct Answer | C |
Question ID 4495 | Choose the option that best describe the deployer's choices, when deploying an EJB that is also exposed as a RESTful web service using JAX-RS (Choose one): |
Option A | A. The EJB can only be deployed to a web container, since RESTful access to the EJB requires a web container to support the HTTP interaction needed. |
Option B | B. The EJB can be deployed to any EJB or web container that would support local references to the EJB from the JAX-RS runtime in the ejb container. |
Option C | C. The EJB can be deployed to any EJB or web container that would support local references to the EJB from the JAX-RS runtime in the web container. |
Option D | D. The EJB can be deployed to an EJB or web container that is visible to the JAX-RS runtime, even on an application server separate from the JAX-RS runtime, since EJBs support local or remote interactions via RMI. |
Correct Answer | C |