File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes @PostConstruct and @init doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "@PostConstruct and @init doubt" Watch "@PostConstruct and @init doubt" New topic

@PostConstruct and @init doubt

Lalit mishra
Ranch Hand

Joined: Sep 01, 2005
Posts: 100
Hi all,
when and why will we use @init method in a session bean when we have @Postconstruct which could be use?

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 10033

This explanation might be useful

SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
I agree. Here's the link:
subject: @PostConstruct and @init doubt
It's not a secret anymore!