Hey

>   Skip the sessioncontext when passivating a stateful session bean.
>   We can't read the value (IllegalAccessException), and it will be
restored
>   by the sessionInputStream during activation anyway.

Hmm..... this whole "field by field" serialization was considered flawed
some time ago (the illegalaccess thing) and this don't make it better. In
fact, the deserialization process *replaces* old ctx's, so if you don't put
them in the stream there will be no replacement on deserialization. No good.

What we should do, really, is serialize the entire bean and do some nifty
object replacement on deserialization.

/Rickard




Reply via email to