Patent ID: 8140985

Claim:
One or more computer-readable storage media storing instructions comprising a runtime execution environment that executes managed code in virtual machines, the runtime execution environment implementing one or more object classes implementing interfaces in the virtual machine environment, wherein the runtime execution environment itself implements the one or more object classes such that they are provided as part of the runtime execution environment and are available prior to any application or applet running in the runtime execution environment, the interfaces configured to be used by any arbitrary application being executed as managed code by the virtual machine environment, the interfaces implemented by the one or more objects comprising: one or more application program interfaces (APIs) provided by a domain manager object instance that is/are invoked by the arbitrary application to create concurrently executing application domain object instances comprising respective object instances in the virtual machine runtime execution environment under the control of the arbitrary application by use of the domain manager object instance, the application domain object instances comprising instances of an application domain object class natively implemented by the runtime execution environment, the domain manager object instance comprising an instance of a class natively implemented by the runtime execution environment, the domain manager object instance executing in the runtime execution environment and comprising an instance of a class natively implemented by the runtime execution environment and instantiated by the arbitrary application, where the arbitrary application further invokes the one or more APIs of the domain manager object instance to manage the application domain object instances, and where portions of managed code of the arbitrary application concurrently execute within the application domain object instances independently and in isolation such that faults and processing occurring in one application domain object instance does not affect the execution of the managed code within the other application domain object instances, wherein the one or more APIs of the domain manager object include methods that when invoked perform communication with a domain manager object instantiated by another application.