Hello Luciano Thank you for your useful informations.
Yes I'd like to get some details if possible. For the contribution phase : How is the java annotation processor working ? For example, what will be done when @Reference is encounterd. Does a proxy will be created to give access to this component reference ? What is the role of the ModelResolver (as decribed in the contribution part of the sca-java-architecture-guide) ? For the build phase : What kind of object is a wire ?How is a wire constructed between one component and one component reference ? Then how is a wire invoked ? Regards Fahim 2008/10/10 Luciano Resende <[EMAIL PROTECTED]> > 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://people.apache.org/%7Elresende> > http://lresende.blogspot.com/ >
