Hi all,
In my
EJB what fields can be transient and
what references has to be set to null in ejbPassivate method ?
Suppose session bean A is servicing my client A, Due to memory constraint the bean A is passivated to service another client B.
In my bean client A has set the following values, i have the following attributes and its value
String a = "hari";
transient String b = "name";
which of the above variable should set to null in my passivate method for the above case, so that there is no corrupt data for client B
What should be done if "a" or "b" points to a resource like "database connection"
Hari