A developer creates a stateless session bean. This session bean needs data from a remote
system. Reading this data takes a long time. Assume that the data will NOT change during the
lifetime of the bean and that the information to connect to the remote system is defined in JNDI.
Which statement describes how to manage the data correctly?
A.
Read the data in the bean’s constructor.
B.
The data can only be read in the bean’s business methods.
C.
Read the data in a method which is annotated with @PrePassivate.
D.
Read the data in a method which is annotated with @PostActivate.
E.
Read the data in a method which is annotated with @PostConstruct.