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):

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):

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):

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.

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.

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.

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.



Leave a Reply 2

Your email address will not be published. Required fields are marked *


leo yu

leo yu

What does it mean? EJB is deployed into web container? Theoretically EJB can only be deployed within EJB container which support the local reference to EJB of JAX-RS runtime in the web container