Re: Client/Service relationships & Flow of Requirements.
- From: "H. S. Lahman" <h.lahman@xxxxxxxxxxx>
- Date: Tue, 30 Jan 2007 18:53:09 GMT
Responding to Carter...
Basically there are two patterns to that get reused every day in this
domain. What you are describing here is this one...
Two peer "subsystems" as you call them need to communicate, which is the
client, which is the service?
Standard Answer: Neither, both are services of a controller client that
wires them together.
OK, but I'm a bit uncomfortable about the language ("wires them together"). That carries a lot of baggage from functional decomposition related to hard-wiring sequences of operations together (Do This, then Do That, then ...).
That's why I prefer the notion of a client/service dependency as a flow of requirements rather than communications (invocations of behavior). Thus a UI service might send a message to the Client that causes the attributes of the a bunch of Client objects to to written to an RDB through a DB Access service. The cause-and-effect is UI -> Client -> DB Access rather than Client -> UI followed by Client -> DB Access as a sequence controlled solely by the Client.
The other standard pattern. is service needs to return information to
client, does this mean the service depends on the client?
Standard Answer: No, both depend on an abstract interface, and the client
(speaking Java now) extends the abstract interface.
Right. The interface is the intermediary that decouples each side's implementations.
*************
There is nothing wrong with me that could
not be cured by a capful of Drano.
H. S. Lahman
hsl@xxxxxxxxxxxxxxxxx
Pathfinder Solutions
http://www.pathfindermda.com
blog: http://pathfinderpeople.blogs.com/hslahman
"Model-Based Translation: The Next Step in Agile Development". Email
info@xxxxxxxxxxxxxxxxx for your copy.
Pathfinder is hiring: http://www.pathfindermda.com/about_us/careers_pos3.php.
(888)OOA-PATH
.
- Follow-Ups:
- Re: Client/Service relationships & Flow of Requirements.
- From: John Carter
- Re: Client/Service relationships & Flow of Requirements.
- References:
- Client/Service relationships & Flow of Requirements.
- From: John Carter
- Re: Client/Service relationships & Flow of Requirements.
- From: H. S. Lahman
- Re: Client/Service relationships & Flow of Requirements.
- From: John Carter
- Client/Service relationships & Flow of Requirements.
- Prev by Date: Re: Client/Service relationships & Flow of Requirements.
- Next by Date: Re: Client/Service relationships & Flow of Requirements.
- Previous by thread: Re: Client/Service relationships & Flow of Requirements.
- Next by thread: Re: Client/Service relationships & Flow of Requirements.
- Index(es):
Relevant Pages
|