Which is the valid use of the javax.ejb.lnit annotation?

Which is the valid use of the javax.ejb.lnit annotation?

Which is the valid use of the javax.ejb.lnit annotation?

A.
to annotate a method in a stateful session bean class so that the container will invoke it after
the EJB is deployed and started

B.
to specify the correspondence of a method on a stateful session bean class with a create
method of the adapted home interfaces

C.
to annotate a bean class inside the ejb-jar archive to act as a bootstrap EJB which is loaded
into the container before any other EJBs

D.
for a client to invoke the method annotated with @lnit to initialize a newly created stateful
session bean instance with user-specific data



Leave a Reply 0

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