[jboss-dev-forums] [Design of JBossCache] - Re: Implicit marshalled values - a better way of handling re

jason.greene@jboss.com do-not-reply at jboss.com
Mon Jan 7 14:49:59 EST 2008


The serialization format uses the class desc followed by the value. We could do this as well, using an illegal identifier symbol for a delimiter (;) so your example would become:

foo.package.Type1;A

The classloading problems can be easily handled by lazily loading the type when that portion of the fqn is accessed as an object. When accessed as a string, the above form is returned.

However, there is nothing stopping the developer from doing this themself. So after thinking about it. It is not worth the effort.



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

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



More information about the jboss-dev-forums mailing list