A method for calling a software method in a called CORBA application by a caller
software method in a caller CORBA application in a process of a computer system
is disclosed. The caller software method calls a software method in a CORBA stub
sending a parameter which is created using a classloader of the caller application.
The CORBA stub software method calls a software method in a dynamic proxy sending
the parameter. The dynamic proxy software method calls an ORB sending the parameter.
The ORB serializes the parameter and returns it to the dynamic proxy software method.
The dynamic proxy software method calls the ORB sending the serialized parameter.
The ORB deserializes the serialized parameter using a classloader of the called
application and returns it to the dynamic proxy software method. The dynamic proxy
software method calls the called software method sending the deserialized parameter.
Alternatively, instead of the ORB serializing and deserializing the parameter object,
the ORB creates a copy of the parameter object using the classloader of the called application.