Method and apparatus for the dynamic generation of Stubs and Ties in
RMI-IIOP implementations. In embodiments, dynamic RMI-IIOP may generate
Stubs and Ties as needed at runtime, rather than statically generating
Stubs and Ties. In embodiments, the dynamic RMI-IIOP mechanism may be
implemented as part of the ORB architecture, rather than as part of the
application server architecture. In one embodiment, Ties may be
dynamically generated by the server-side ORB using reflection. In
embodiments, different mechanisms may be provided for dynamically
generating Stubs on the client-side ORB. These mechanisms may include a
dynamic proxy mechanism and an external library mechanism. One embodiment
may provide a pluggable interface to the client-side ORB through which
different dynamic Stub mechanisms may be plugged in. Some embodiments of
dynamic RMI-IIOP may be configured to load statically generated Stubs for
client processes where dynamic Stubs are not supported.