| Application Domain |
Article Index for Application |
Website Links For Application |
Information AboutApplication Domain |
| CATEGORIES ABOUT APPLICATION DOMAIN | |
| software engineering | |
|
A Common Language Runtime application domain is a mechanism (similar to an Operating System Process ), used to isolate executed Software Application s from one another so that they do not affect each other. This is achieved by making any unique Virtual Address Space run exactly one application and scopes the resources for the process or application domain using that addess space. A Common Language Runtime (CLR) application domain is contained within an operating system process. A process may contain many application domains. This carries major advantages:
In this sense, the CLR is like a mini-operating system. It runs a single process that contains a number of sub-process, or application domains. Direct communication cannot be achieved across application domains. However, application domains can still talk to each other by passing Objects via marshaling by value (unbound objects), marshaling by reference through a proxy (AppDomain-bound objects). There is a third type of object called a context-bound object which can be marshalled by reference across domains and also within the context of its own application domain. Because of the verifiable Type-safety of managed code, the CLR can provide fault isolation between domains at a much lower cost than an operating system process can. The static type verification used for isolation does not require the same process switches or hardware ring transitions that an operating system process requires. REFERENCES http://codebetter.com/blogs/raymond.lewallen/archive/2005/04/03/61190.aspx |
|
|