Sample Questions
Q) Which method can be called from the transition container bean instance state ready state pool?
a) ejbRemove
b) ejbCreate
c) ejbActivate
d) unsetEntityContext
Q) Which statement is true about implementing ejbSelect methods?
a) The container calls the appropriate methods in the bean class ejbFind.
b) The deployment descriptor EJB QL guide implementation of the container.
c) The EJBObject enclosure contains methods that call ejbSelect methods.
d) The provider Bean provides implementation of ejbSelect methods.
Q) What role is responsible for the implementation of business methods at home for a CMP 2.0 entity bean?
a) Deployer
b) Bean Provider
c) container Provider
d) Application Assembler
Q) What to javax.ejb.EJBContext method returns an object that allows a Bean providers to define operations?
a) Start()
b) getAutoCommit ()
c) getTransaction ()
d) getUserTransaction ()
Q) That is a responsibility of the EJB 2.0 container, with respect to the session bean?
a) invoking the method setSessionContext
b) invoking the seat interface create method
c) the implementation of a class that implements javax.ejb.SessionBean
d) the implementation of a method afterBegin, if declared in the remote interface of the bean