[jboss-dev-forums] [Design of JBossCache] - Re: Document where non-String FQN do not work, JBCACHE-838
bstansberry@jboss.com
do-not-reply at jboss.com
Wed Nov 8 12:11:00 EST 2006
anonymous wrote : Basically, Fqns containing {"test", "1"} will look the same as {"test", new Integer(1)} if serialized to Strings. How do you know which to deserialize to, to identify the region to apply the partial state to? What if they both exist in the same tree?
Sure, that's a problem. But I think it's a documentable problem. And it exists at the Region level, which would typically be something an app developer would think about a little bit. Having two different region Fqn's that resolve to the same string would be sign of a stupid app design.
Kind of a philosophical issue -- do you restrict what people can do because you're concerned people will do boneheaded things? I'm generally opposed to that, particularly when the odds of the boneheaded behavior are low.
Of course if we can't solve technical problems like the String in the JG partial state transfer API, that's a different thing.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984239#3984239
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984239
More information about the jboss-dev-forums
mailing list