What is the difference between
public UserBean() {
// create the session state
state = new BigInteger(64, new SecureRandom()).toString(32);
}
and
public UserBean() {
init();
}
@PostConstruct
public void init() {
// create the session state
state = new BigInteger(64, new SecureRandom()).toString(32);
}
where state is one of the many attributes of the class.