Q & A - EJB 3.0 Message-Driven Bean Component Contract Q & A - Chapter 4 - EJB 3.0 Message-Driven Bean Component Contract
EJB 3.0 Message-Driven Bean Component Contract Q & A Chapter 4 - EJB 3.0 Message-Driven Bean Component Contract
The env-ref element in the deployment descriptor of an enterprise bean is used to define
Areferences to other beans
Breferences to external resources
Creferences to external resources
Dreferences to security roles
A client invokes a method on a Stateful Session bean which resulted in NoSuchObjectException. What are the possible causes ?
A) The bean had already been removed by the container
B) The bean had timed out
C) The ejb server was restarted after the last method call on the bean
D) The bean is being used by another client
E) The code in the bean method caused an error
F) The method parameters passed to the method are invalid
What value should be returned by the ejbCreate() of a CMP entity bean ?