A method and system for a client invoking on an interface defined in a
first notation to invoke an object having an interface defined in a
second notation is disclosed. In one aspect, the method comprises the
steps of: automatically generating an intermediate object that receives a
first message from a first object; the message representing at least one
data structure; the at least one data structure comprising at least one
dynamic data type; the intermediate object converting the representation
of the at least one data structure and at least one data type into a
representation of at least one statically defined data structure; the
intermediate object sending a second message to a second object; the
second message comprising the representation of the at least one
statically defined data structure. In one preferred embodiment, the
method and system facilitate communication between CORBA and Java EJB
objects.