can anyone tell me how to switch serialization type ( jboss | java ) in the jboss 5.1.0.GA for cases when you need to transfer objects between sibling ears (within the same JVM)? May be here I need to adjust jboss marshalling mechanism?
This question goes from the situation when I have some bean with two versions: first version contains for example two fields, seconds version contains three fields and I need to transfer old instanse to the ear where new instance is in classpath. So with java serialization approach I can deserialize old instance into new one with additional field equals NULL, but with jboss serialization approach I can't do this (or I don't know howto).
As I understand the JVM parameter -Dserialization.jboss=false is used only for jboss cache.