Re: question about component integration or assembly
- From: "H. S. Lahman" <hsl@xxxxxxxxxxxxxxxxx>
- Date: Wed, 16 Jan 2008 16:40:51 GMT
Responding to Liongster...
I am still new to this component concept.
At this stage, I have a question about the concept and the
implementation of the components when they are combined or integrated
or assemblied with other components.
Which component concept is that? B-) Alas, component engineering is taking on as many different methodological views as OOA/D.
If we are a developer of a client application and wants to use
component X and Y.
The definition of component allows components be connected to each
other. I could understand how my client application would be connected
to component X and Y. However how could we connect X to Y, if don't
have the source code of X and Y?
The short answer is that you don't. The component is a module with a particular semantic responsibility that is abstracted by its interface for various clients to use. That interface encapsulates its implementation so that it is none of the clients' business how it delivers on its advertised semantics. So if X needs to talk to Y, then that is a problem for the implementer of X, not the user of X.
IOW, it is best to think of components as a bunch of standalone black boxes that provide logically indivisible services. All the client cares about is the service that the particular component is responsible for providing. So if the client needs the services of both X and Y in some particular sequence, the client should invoke those services directly from both in the proper sequence.
--
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: question about component integration or assembly
- From: liongster
- Re: question about component integration or assembly
- References:
- question about component integration or assembly
- From: liongster
- question about component integration or assembly
- Prev by Date: Re: Refactoring into ravioli code
- Next by Date: Re: which of these OO books for 1st reading ?
- Previous by thread: question about component integration or assembly
- Next by thread: Re: question about component integration or assembly
- Index(es):
Relevant Pages
|