Which two statements are true?

Which two statements are true? (Choose two.)

Which two statements are true? (Choose two.)

A.
Typically, remotely accessible objects should be coarse-grained.

B.
If a client accesses an enterprise bean locally such access must be mediated by the EJB
container.

C.
A given enterprise bean’s transaction information is immutable because it is deployed across
various containers.

D.
If a container provides services NOT required by the EJB specification, then that container is
NOT considered to be an EJB container.

E.
An enterprise bean’s transaction Information can be accessed by external tools only if the
information is contained in an XML deployment descriptor.

Explanation:
D: An EJB container is nothing but the program that runs on the server and
implements the EJB specifications. EJB container provides special type of the environment
suitable for running the enterprise components. Enterprise beans are used in distributed
applications that typicallycontains the business logic.



Leave a Reply 4

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


Alex

Alex

A, B
Enterprise JavaBeans 3.1, Final Release: 3.2.3 Choosing Between a Local or Remote Client View
Remote calls are potentially expensive. They involve network latency, overhead of the client
and server software stacks, argument copying, etc. Remote calls are typically programmed in a
coarse-grained manner with few interactions between the client and bean.
21.3 Container Provider’s Responsibility
This section defines the container’s responsibilities for providing the runtime environment to the enterprise bean instances. The requirements described here are considered to be the minimal requirements; a container may choose to provide additional functionality that is not required by the EJB specification.

Antonio

Antonio

A,B are correct. Remote-view ejb should transfer as much data as possible to reduce consumed network bandwidth, authentication task, method parmeters passed by value, etc…

Juan

Juan

A, B are correct … I agree with the Alex,s Reasons.

D is incorrect beacause

21.3 Container Provider’s Responsibility
This section defines the container’s responsibilities for providing the runtime environment to the enterprise bean instances. The requirements described here are considered to be the minimal requirements; a container may choose to provide additional functionality that is not required by the EJB specification.