Architecting Composite Applications and Services with TIBCO by Paul C. Brown

Architecting Composite Applications and Services with TIBCO by Paul C. Brown

Author:Paul C. Brown
Language: eng
Format: epub
Publisher: Pearson Education Limited (US titles)
Published: 2013-03-15T16:00:00+00:00


Design Pattern: Rule Service Separated from Process Manager

There are two basic patterns for managing flow with rules. The patterns differ regarding where the rules are located with respect to the process flow logic. In one case the rules are strictly separated, and in the other they are fully integrated. Let’s take a look at the design pattern for the separated case.

In most processes where rules are employed for decision making, there are well-defined decision points in the process, each of which has relatively few outcome branches (Figure 10-5). When rules are employed in these situations, it is because the decision as to which of the branches to take is complex, even though the number of possible outcomes is small. In these cases, it is relatively easy to separate the rule service (which interprets the rules) from the process manager, as shown in the figure. The process manager asks the rule service to determine the decision result, but the process manager determines what the process should be for each result.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.