Does the bean provider explicitly have to set the references to SessionContext and UserTransaction to null in the ejbPassivate or does the container do it? Are these two fields serialized also? Thanks, Jehan
posted 14 years ago
though they are not serializable(they do not implements sirializable interface），but J2EE container can recognize then,so the J2ee spec says that all the container should serialize the following objects although they are not serializable: EJB home reference, EJB object reference, UserTransaction SessionContext
IBM Object-Oriented Analysis and Design with UML<br />Sun Certified Programmer for Java 2 Platform<br />Sun Certified Web Component Developer for J2EE Platform<br />Sun Certified Developer for Java Web Services<br />Sun Certified Enterprise Architect for J2EE Platform - Part I<br /> <br />I am from China.