Re: question about component integration or assembly
- From: shashank <shashank.dj@xxxxxxxxx>
- Date: Fri, 18 Jan 2008 08:44:35 -0800 (PST)
On Jan 17, 5:52 pm, liongs...@xxxxxxxxx wrote:
On Jan 17, 3:40 am, "H. S. Lahman" <h...@xxxxxxxxxxxxxxxxx> wrote:
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.
I read about this from Syperski's "Component Software - Beyond Object
Oriented Programming" (2003). To be exact on page 174, He mentioned
and draw a connection between two components C1 and C2. I can
understand if they will communicate through a defined interface,
however my question was how this connection is implemented?
Let me see if I can clarify your doubts at least in context of CORBA
Components.
Lets suppose if we have two component definitions like below
//component 1
component PowerGenerator {
provides Power power_supplier; //Power is an interface
}
and component 2
component VendingMachine {
provides SomeInterface;//another interface
requires Power power_consumer;
}
Now if we connect power_consumer port of VendingMachine to
power_supplier port of PowerGenerator, the runtime assembly/deployment
framework of infrastructure takes responsibility of getting reference
of power_supplier (of type Power) from PowerGenerator component and
passing this reference to component VendingMachine.
Both the component implements the published behaviour of providing (in
this case providing reference to Power interface by component
PowerGenerator and accepting reference of type Power by component
VendingMachine. And so that we don't need access to source code/
implementation of both/any components.
This is how it gets implemented.
regards,
Shashank Dutt Jha
.
- Follow-Ups:
- Re: question about component integration or assembly
- From: hanliong
- Re: question about component integration or assembly
- From: WALLYWORLD
- Re: question about component integration or assembly
- References:
- question about component integration or assembly
- From: liongster
- Re: question about component integration or assembly
- From: H. S. Lahman
- Re: question about component integration or assembly
- From: liongster
- question about component integration or assembly
- Prev by Date: Re: Why is Object Oriented so successfull
- Next by Date: Re: Business objects, subset of collection
- Previous by thread: Re: question about component integration or assembly
- Next by thread: Re: question about component integration or assembly
- Index(es):
Relevant Pages
|