Choose the statement that best describes the use of Enterprise Beans as JAX-RS root resources:

Choose the statement that best describes the use of Enterprise Beans as JAX-RS root resources:

Choose the statement that best describes the use of Enterprise Beans as JAX-RS root resources:

A.
An Enterprise Bean can be made a JAX-RS root resource only if EJB-specific features such as transaction management or security validation
are not used.

B.
JAX-RS imposes no limitations on the characteristics ofthose Enterprise Beans that can be exposed as JAX-RSresource classes.

C.
An Enterprise Bean that is exposed as a JAX-RS root resourcecan no longer be used directly as a remote bean itself – thebean
implementation class can be accessed via the remote EJBdistributed framework (RMI), or a JAX- RS root resource, but not both concurrently
within the same application.

D.
An Enterprise Bean that is exposed as a JAX-RS root resource supports all the same features as a JAX-RS resource that it supports as an
EJB.



Leave a Reply 2

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


Leo Yu

Leo Yu

what’s the difference between B) and D)

Aneesh

Aneesh

Answer is B