On Wed, Oct 8, 2008 at 9:56 AM, fahim salim <[EMAIL PROTECTED]> wrote:
> Hi
>
> I'm currently trying to understand what's going on in Tuscany tool in order
> to use it in an efficient way later on (for a demo).
> My purpose is to have a clear idea concerning  the main mecanisms involved
> in the creation of the artifacts.
> For example, I'm trying to understand the Calculator sample.
> As far as I understand, the CalculatorClient invokes newInstance method to
> get a new domain.

When an application calls SCADomain.newInstance(), it's boostraping
the sca runtime that will identify the current project and contribute
it to the domain.

> Ok
> Then, it invokes getService method in order to get a reference for the
> service offered by the CalculatorServiceComponent.
> Ok
>
> But what about the creation of the components, services and references ?
> In the "sca-java-architecture-guide.html" it seems to be related to the
> bootsrap process. The process described here is difficult for me to
> understand .

During the contribution process, the artifacts are processed and
resolved resulting in an in-memory representation of the assembly.
Next is the build phase, where the model is processed by the runtime
and the components, services and references are actually created and
wired and activated. Are you looking for any specific details of any
particular phase ?


> Any explanations are welcom.
>
> Thanks
> Fahim
>
>
>



-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Reply via email to