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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...