[jboss-dev-forums] [JBoss AS7 Development] - Modular Serialization

Jason Greene do-not-reply at jboss.com
Thu Sep 29 06:44:02 EDT 2011


Jason Greene [http://community.jboss.org/people/jason.greene] commented on the document

"Modular Serialization"

To view all comments on this document, visit: http://community.jboss.org/docs/DOC-17244#comment-7738

--------------------------------------------------
I think you are referring to the scenario in  https://issues.jboss.org/browse/HORNETQ-782 HORNETQ-782. Is that correct?

This case is a form of Problem A. The difference is that java.lang.Object is the shared super class, and the sun jdk is "shared.jar". I had commented on the issue that it was "near" invalid, since there isn't much use you can do with java.lang.Object. You could use reflection, but typing would be superior. Problem A is the "legitimate" version where you have a real sensible contract that works fine in the local case, not so great with serialization.

Both solutions will work in even in the strang java.lang.Object case. The difference mentioned above is that it's a choice between putting the burden on the developer or the implementer. Since we have JBoss Marshalling, which does all of the hard work, I think that burden is pretty small. I think the challenge in the HORNETQ case is just the protocol changes and handling older clients.
--------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110929/770c97e1/attachment.html 


More information about the jboss-dev-forums mailing list