December 2017
Intermediate to advanced
372 pages
8h 46m
English
Just like stateless session beans, message-driven beans contain only the Does Not Exist and Ready states:

A message-driven bean can have methods decorated with the @PostConstruct and @PreDestroy methods. Methods decorated with the @PostConstruct are executed just before the bean goes to the Ready state. Methods decorated with the @PreDestroy annotation are executed just before the bean goes to the Does Not Exist state.