[jboss-dev-forums] [Design of JBossCache] - Re: Incorrect serialization of PojoCache collection class pr
ben.wang@jboss.com
do-not-reply at jboss.com
Fri Nov 3 00:39:20 EST 2006
OK, when I try to code the proxy class, I had the entity model in mind. I.e., when tyring to do remote call, you should always detach from it entity manager first and then re-attach again later.
I can see your use case here as well for user accidentally to pass in the reference (that's what I said of not transparent). And what you proposed make good sense.
But on the same token, this can be user's expectation that serilization and POJO relationship are still intact on the remote node! Again, this is unintentional but they have no way of knowing it, unless of course we explictly throw an exception.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982860#3982860
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982860
More information about the jboss-dev-forums
mailing list