Suppose a SF session bean contained a JDBC connection along with other bean data. If the bean is passivated, would the JDBC connection info also be searlized? If so, would this JDBC connection info be useful when the bean is activated?
How are Remote references and/or plain old Java references handled during SFB passivation/activation?
When the ejbPassivate() of your SFSB is called, then all the transient instances should be in one of the states that is mentioned in HFEJB (like null,Serializable object and so on..pls refer to HFEJB for the complete list.)
The jdbc Connection object is not serializable. So in your ejbPassivate(), you will have to explicitly assign it to null (to meet the above said condition).
In your ejbActivate(), you will have to get back the connection explicitly. All the serializable attributes will get back their previous state. You dont have to bother abt that.