nerdexam
Oracle

1Z0-860 · Question #80

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

The correct answer is B. to specify the correspondence of a method on a stateful session bean class with a create method of the. See the full explanation below for the reasoning.

Question

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

Options

  • Ato annotate a method in a stateful session bean class so that the container will invoke it after the EJB is
  • Bto specify the correspondence of a method on a stateful session bean class with a create method of the
  • Cto annotate a bean class inside the ejb-jar archive to act as a bootstrap EJB which is loaded into the
  • Dfor a client to invoke the method annotated with @lnit to initialize a newly created stateful session bean

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    85% (28)
  • C
    6% (2)
  • D
    6% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-860 Practice