Which three statements are correct?

A developer writes client code that runs in a Java EE container and accesses an EJB 3.0 stateful
session bean. Which three statements are correct? (Choose three.)

A developer writes client code that runs in a Java EE container and accesses an EJB 3.0 stateful
session bean. Which three statements are correct? (Choose three.)

A.
The client can obtain a reference to the bean’s business interface through JNDI lookups.

B.
The client can obtain a reference to the bean’s business interface through dependency
injection.

C.
If the client calls a business method after the bean instance has been removed an exception
will occur.

D.
After obtaining a reference to the bean’s business interface, the client must call the create
method before it may call business methods.

E.
After the bean instance has been passivated, the client needs to re-obtain a reference to the
bean’s business interface to activate the bean instance.



Leave a Reply 0

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