What are the @PreConstruct and @PostConstruct annotations used for?
Issue
- What is meant by @preconstruct and @postconstruct
- Is it possible to use these features to get DB connection and release resources?
Environment
- EJB3
- Jboss Enterprise Application Platform (EAP)
- 4.3.0.GA_CP07
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.