System, method, and article of manufacture for environment services patterns in a netcentic environment
First Claim
1. A method for implementing environment services patterns, comprising the steps of:
- (a) testing successfulness of an operation having pre-conditions and post-conditions that must be satisfied for an operation to be successful;
(b) attempting to detect an orphaned server context;
(c) creating a common interface for exception handling;
(d) recording exception handling requirements for maintaining a consistent error handling approach;
(e) distributing incoming requests amongst server components for optimizing usage of resources; and
(f) minimizing the amount of changes that need to be made to exception handling logic when new exceptions are added.
5 Assignments
0 Petitions
Accused Products
Abstract
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.
352 Citations
18 Claims
-
1. A method for implementing environment services patterns, comprising the steps of:
-
(a) testing successfulness of an operation having pre-conditions and post-conditions that must be satisfied for an operation to be successful;
(b) attempting to detect an orphaned server context;
(c) creating a common interface for exception handling;
(d) recording exception handling requirements for maintaining a consistent error handling approach;
(e) distributing incoming requests amongst server components for optimizing usage of resources; and
(f) minimizing the amount of changes that need to be made to exception handling logic when new exceptions are added. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer program embodied on a computer readable medium for implementing environment services patterns, comprising:
-
(a) a code segment for testing successfulness of an operation having pre-conditions and post-conditions that must be satisfied for an operation to be successful;
(b) a code segment for attempting to detect an orphaned server context;
(c) a code segment for creating a common interface for exception handling;
(d) a code segment for recording exception handling requirements for maintaining a consistent error handling approach;
(e) a code segment for distributing incoming requests amongst server components for optimizing usage of resources; and
(f) a code segment for minimizing the amount of changes that need to be made to exception handling logic when new exceptions are added. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system for implementing environment services patterns, comprising:
-
(a) logic for testing successfulness of an operation having pre-conditions and post-conditions that must be satisfied for an operation to be successful;
(b) logic for attempting to detect an orphaned server context;
(c) logic for creating a common interface for exception handling;
(d) logic for recording exception handling requirements for maintaining a consistent error handling approach;
(e) logic for distributing incoming requests amongst server components for optimizing usage of resources; and
(f) logic for minimizing the amount of changes that need to be made to exception handling logic when new exceptions are added. - View Dependent Claims (14, 15, 16, 17, 18)
and sending information to the clients identifying the contexts that have not been accessed in the predetermined amount of time.
-
-
16. A system as recited in claim 13, wherein the logic for creating a common interface for exception handling includes:
- determining naming conventions of exceptions;
adding at least one of a prefix and a suffix to each exception interface name for indicating that the exception interface is an exception;
indicating where an exception error occurred;
determining what caused the exception error;
providing context as to what was happening when the exception error occurred;
allowing streaming of the exception to a common interface; and
outputting an error message indicating that an exception error has occurred.
- determining naming conventions of exceptions;
-
17. A system as recited in claim 13, wherein the logic for distributing incoming requests amongst server components for optimizing usage of resources includes:
- receiving incoming requests;
storing the requests;
determining an availability of server components;
compiling a listing of available server components;
determining which server component on the listing of available server components is most appropriate to receive a particular request; and
sending each particular request to the selected server component determined to be most appropriate to receive the particular request.
- receiving incoming requests;
-
18. A system as recited in claim 13, wherein the logic for minimizing the amount of changes that need to be made to exception handling logic when new exceptions are added includes:
- organizing exceptions into hierarchies in a polymorphic exception handler;
catching a root of one of the hierarchies in which an exception occurs;
instructing the exception to rethrow itself;
catching the rethrown exception;
identifying the rethrown exception;
determining a type of the rethrown exception; and
outputting a message indicating the type of the rethrown exception.
- organizing exceptions into hierarchies in a polymorphic exception handler;
Specification