Patent attributes
Provided are a method, system, and program for processing a call. A call is invoked from a caller object to a target object, wherein the caller and target objects comprise component objects loaded with caller and target class loaders, respectively, and wherein the caller object invokes the call using a local method invocation. The classes needed to process the call are loaded if the needed classes are not already loaded and if the target class loader is capable of loading the needed classes. Further classes that comprise the needed classes are dynamically loaded if the target class loader is not capable of loading the needed classes. The call is invoked after the needed classes are loaded and available for the target object to process the call.