I have read the EJB 2.1 spec, at  7.4.1 Instance Passivation and Conversational 
State, it states, 

"The Bean Provider is required to ensure that the ejbPassivate method leaves 
the instance fields ready to be serialized by the container. The objects must 
be one of the following: [A serializable object]"

If my stateful session bean serialized all the Serializable POJOs during 
passivation, will the value in those POJOs be retained during activation? I've 
been testing all day and I have not been able to get back those values after 
activation. 

Please, I've been trying to search for a solution of how to keep the 
conversational state of the Serializable POJO in the stateful bean and somehow 
I'm stuck. 

What I do to get around now is I've changed the cache policy in the 
standardjboss.xml to NoPassivationCachePolicy. I hope there's someone could 
advise me of how to get around with this instead of changing the cache policy.

Thank you.

Regards,
bb

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881907#3881907

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881907


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to