DataSource is also non-serializable.
No, but it does not need to. For passivation, instances variables must be
one of the following :
� A serializable object.
� A null.
� An enterprise bean's remote interface reference, even if the stub class is not serializable.
� An enterprise bean's remote home interface reference, even if the stub class is not serializable.
� An entity bean's local interface reference, even if it is not serializable.
� An entity bean's local home interface reference, even if it is not serializable.
� A reference to the SessionContext object, even if it is not serializable.
� A reference to the environment naming context (that is, the
java:comp/env JNDI context) or any of its subcontexts.
� A reference to the UserTransaction interface.
�
A reference to a resource manager connection factory. � An object that is not directly serializable, but becomes serializable by replacing the references
to an enterprise bean's home and component interfaces, the references to the SessionContext object, the references to the java:comp/env JNDI context and its subcontexts, and
the references to the UserTransaction interface by serializable objects during the object's serialization.