Patent ID: 8032890

Claim:
A system for managing an application, the system comprising: one or more processors for providing a context monitor comprising an application framework and a server framework; the application framework comprising: a plurality of application contexts; and an accessor interface to provide methods for accessing resources for an application context of an executing application, including the specification of resource lifetimes, the resources to perform application tasks, wherein the application context describes the current processing state of the executing application and the application context is isolated from the application contexts of other executing applications in a multi-thread environment by using data slots to access application global data only visible within the application context to prevent the application from impacting the other executing applications other than when an application-to-application communication service is evoked; the server framework comprising: a resource manager to manage the resources, including determining dependencies of the resources on each other by mapping the resources into a resource tree, releasing the resources when the resources are out of scope with specified lifetime scopes, notifying child resources when their respective parent resources are released, releasing child resources when their respective parent resources are released, detecting an application failure instance, and releasing the resources associated with the application context when an application failure is detected.