You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Raymond Feng <en...@gmail.com> on 2006/08/14 19:59:46 UTC
Name for the application composite?
Hi,
I noticed that when we deploy an application, the corresponding name for the CompositeComponent is hard-coded as "application" rather than loaded from the name attribute in the SCDL file. Is it by design?
Thanks,
Raymond
Re: Name for the application composite?
Posted by Raymond Feng <en...@gmail.com>.
So basically, we have an "application" component in "tuscany.root" composite
and the component is implemented by the composite represented by the SCDL.
Right?
Here's the hierarchy I figured out from the debugger. Please confirm.
tuscany.runtime --- tuscany.system
--- tuscany.system
--- (all the extension components)
--- RuntimeInfo
--- tuscany.root
--- application (implemented by a composite
provided by the user application)
Thanks,
Raymond
----- Original Message -----
From: "Jeremy Boynes" <jb...@apache.org>
To: <tu...@ws.apache.org>
Sent: Monday, August 14, 2006 11:15 AM
Subject: Re: Name for the application composite?
> Yes, the name in the attribute is the name of the composite not the name
> for the component.
>
> The "application" name is only used by the launcher as it, by design,
> only deploys a single application; it would be possible to derive the
> name somehow e.g. from the file name. If you look at the servlet version
> it uses the name of the webapp as the name for the component.
>
> --
> Jeremy
>
> On Aug 14, 2006, at 10:59 AM, Raymond Feng wrote:
>
>> Hi,
>>
>> I noticed that when we deploy an application, the corresponding name for
>> the CompositeComponent is hard-coded as "application" rather than loaded
>> from the name attribute in the SCDL file. Is it by design?
>>
>> Thanks,
>> Raymond
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: Name for the application composite?
Posted by Jeremy Boynes <jb...@apache.org>.
Yes, the name in the attribute is the name of the composite not the
name for the component.
The "application" name is only used by the launcher as it, by design,
only deploys a single application; it would be possible to derive the
name somehow e.g. from the file name. If you look at the servlet
version it uses the name of the webapp as the name for the component.
--
Jeremy
On Aug 14, 2006, at 10:59 AM, Raymond Feng wrote:
> Hi,
>
> I noticed that when we deploy an application, the corresponding
> name for the CompositeComponent is hard-coded as "application"
> rather than loaded from the name attribute in the SCDL file. Is it
> by design?
>
> Thanks,
> Raymond
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org