Google News
logo
EJB - Interview Questions
What are the callback annotations for the stateless bean?
Below are the callback annotations for the stateless bean :
 
@PostConstruct : method is invoked when a bean is created for the first time.
@PreDestroy : When a bean is destroyed or displaced from the bean pool, this method is invoked.
Advertisement