Spring / Spring Beans
Explain JSR-250 annotation.
Spring supports JSR 250 annotations that includes @PostConstruct, @PreDestroy and @Resource annotation.
@PostConstruct defines the callback method post the bean initialization.
@PreDestroy defines the method to be invoked post the bean destruction event.
@Resource wires the bean using name autowiring semantics.
More Related questions...