Why use @PostConstruct?

Viewed 313795

In a managed bean, @PostConstruct is called after the regular Java object constructor.

Why would I use @PostConstruct to initialize by bean, instead of the regular constructor itself?

4 Answers
Related