geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick McGuire <>
Subject Re: IIOP Marshalling depends on JDK implementation?
Date Wed, 21 Nov 2007 18:26:30 GMT
It appears that the Vector writeObject() method exists only for 
synchronization purposes.  It just calls the defaultWriteObject() method 
of the ObjectOutputStream.  This results in an identical serialized 
value being used.  I know the WAS CE developers have gotten CORBA 
marshalling to work between servers running on the IBM and Sun 
JVMs....and those tests included Vector usage.

Rick wrote:
> Hi,
> I want to ask a question about IIOP Marshalling?
> In java to idl specification, it says if an object implements
> writeObject method, it needs to be mapped to custom value type.
> But I just found in IBM's JDK, java.util.Vector does not have
> writeObject method, but in Sun's JDK, java.util.Vector has writeObject
> method.
> Because of this, Vector would be mapped different in IDL and hence it
> would be marshalled differently. Is that right? We cannot make IIOP
> calls if client and server are using different JDK?
> Thanks,

View raw message