[jboss-jira] [JBoss JIRA] Created: (JBSER-124) Java serialization possibility

Alexander Kontsur (JIRA) jira-events at lists.jboss.org
Fri Mar 4 06:40:45 EST 2011


Java serialization possibility
------------------------------

                 Key: JBSER-124
                 URL: https://issues.jboss.org/browse/JBSER-124
             Project: JBoss Serialization
          Issue Type: Feature Request
    Affects Versions: 1.0.3 GA
         Environment: jboss 5.1.0.GA, jdk_1.5.0_22
            Reporter: Alexander Kontsur
            Assignee: Clebert Suconic


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list