Skip to Content
0
Jan 13, 2012 at 04:36 PM

Difference between com.sap.ejb.annotations.AppStartup and @PostConstruct

48 Views

Hi developers,

In NW 7.3 we have two EJB annotations with identical meaning:

javax.annotation.PostConstruct 

and

com.sap.ejb.annotations.AppStartup

A method annotated like this is invoked by the container right before the EJB is made available to clients.

Can anyone explain the difference between the two annotations?

Thanks, regards

Vincenzo