EJB‎ > ‎

Message-Driven Bean

Lifecycle:
  • Method-Ready Pool - mdb objects that are not in use kept in a pool ready for method invocation
  • Does Not Exist
A method, which takes no arguments and returns void, marked with the following will be called once upon creation of its instance after execution of its construct.

@PostConstruct

A method, which takes no arguments and returns void, marked with the following will be called right before it is referenced (deleted).

@PreDestroy


Comments