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 alter
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 statefui

session bean instance with user-specific data



Leave a Reply 0

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