Ok i am having the hardest time here..
The scenario is I have a session bean that gets a DataObject from an entitybean. This Dataobject implements both Serializable and Externalizable. Anyway the session bean gets this dataobject, makes a few changes to it, and then returns several of them in an ArrayList.
When the webtier gets this arraylist, it's as if the sessionbean made no changes to the dataobject.. it's in the same state it was when it came from the entitybean to the session bean.
The **ONLY** thing I can figure is that when the collection of data objects is passed on the wire, it's calling write the Externalizable writeExternal() and readExternal() methods, which is **NOT** what I want. I just want basic serialization.
Is there some RMI setting in jboss I'm missing?
Thanks for any help.
From the javadocs for java.io.Externalizable
"If the object supports Externalizable, the writeExternal method is called. If the object does not support Externalizable and does implement Serializable, the object is saved using ObjectOutputStream."