A system, method and article of manufacture are provided for implementing environment services patterns. First, a successfulness of an operation is tested, wherein the operation has pre-conditions and post-conditions that must be satisfied for the operation to be successful. Then, there is an attempt to detect an orphaned server context. A common interface is created for exception handling. Requirements for such exception handling are also recorded to maintain a consistent error handling approach. Incoming requests are distributed amongst server components for optimizing usage of resources. Finally, the amount of changes that need to be made to exception handling logic are minimized when new exceptions are added.
展开▼