which of these circumstances?

A developer is writing client code to access a session bean deployed to a server instance.
The client can access the session bean under which of these circumstances? (Choose three)

A developer is writing client code to access a session bean deployed to a server instance.
The client can access the session bean under which of these circumstances? (Choose three)

A.
The client is deployed in the same JVM as the session bean and the session bean has a local
interface.

B.
The client is deployed in the same JVM as the session bean and the session bean exposes a
no-interface view.

C.
The client is deployed in a different JVM from the session bean and the session bean has a
local interface.

D.
The client is deployed in a different JVM from the session bean and the session bean has a
remote interface.

E.
The client is deployed in a different JVM from the session bean and the session bean has a nointerface implementation.

Explanation:
D: If your architecture has a requirement whereby the client application (web
application or rich client) has to run on a different JavaVirtual Machine (JVM) from the one that is
used to run the session beans in an EJB container, then you need to use the remote interface.



Leave a Reply 0

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