I think this is preferable to keep the helloworld samples simple and self
contained for those just getting on board with SCA to learn from. Use the
calculator samples to start using more advanced and possible component reuse
across samples.
It's also not firm in my mind given the two proposals of trying to show reuse
and moving samples to their technologies that they reflect how all of this would
be structured. Maybe we should first have a rough draft of the directory layout
with some words that show how things relate that once cleaned up could also make
it in to the documentation. Honestly, while these all seem doable, there can
be elegance in simplicity. :-)
ant elder wrote:
I quite like this suggestion to use calculator instead of helloworld.
Unlike
helloworld it demonstrates things like assembly, properties and references,
but is still simple enough to be easy to understand. The doc or tutorials
could maybe still start with a helloworld example.
I also tend to agree with Rick's concerns about trying to reuse things may
make the samples harder to understand, could we see and example before
going
ahead and changing everything? Also, a while back there was talk of
restructuring the samples so they were grouped by extension type [1], how
would this reuse fit in with that?
...ant
[1] http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg06569.html
On 9/13/06, Meeraj Kunnumpurath <[EMAIL PROTECTED]> wrote:
Rick,
Is it still worth factoring out the components to a different project
and giving the option to the ones who build the samples to reuse them
based on dependency or just copy and paste? Also, is it worth
considering using the calculator component consistently through the
samples instead of the hello world component, as it is less trivial than
the hello world one?
Ta
Meeraj
-----Original Message-----
From: Rick [mailto:[EMAIL PROTECTED]
Sent: 12 September 2006 13:56
To: tuscany-dev@ws.apache.org
Subject: Re: Sample components
For what it's worth we've been down this path once before with sharing
the implementation. As I recall there was negative feed back that the
dependencies was only captured in maven which not all understand and
that these simple beginner samples should stand on their own. It also
made it more difficult to just copy, paste and edit to start a new
sample to play with.
Meeraj Kunnumpurath wrote:
> Jeremy,
>
> From what I see, the stuff that is duplicated are hello world service
> and implementation. I can move it to a separate project and have all
> the other sample projects that use them to depend on it. Only trouble
> is the RMI binding as that the methods declare to throw
RemoteException.
>
> Ta
> Meeraj
>
> -----Original Message-----
> From: Meeraj Kunnumpurath
> Sent: 11 September 2006 07:55
> To: 'tuscany-dev@ws.apache.org'
> Subject: RE: Sample components
>
> Can I volunteer?
>
> -----Original Message-----
> From: Venkata Krishnan [mailto:[EMAIL PROTECTED]
> Sent: 11 September 2006 06:52
> To: tuscany-dev@ws.apache.org
> Subject: Re: Sample components
>
> +1. This really makes a great deal of sense to me. Infact this will
> +get
> the 'solution assembly' message a lot clear.
>
> - Venkat
>
> On 9/10/06, Jeremy Boynes <[EMAIL PROTECTED]> wrote:
>> We have quite a few samples that have copies of the same components
>> and the services that they implement. I think we should separate the
>> components from the samples themselves and move them to a common
>> "sample-components" project that just contains the implementations;
>> this could then be used by the different samples that illustrate the
>> SCA concepts.
>> --
>> Jeremy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> This message has been checked for all email viruses by MessageLabs.
>
>
>
> *****************************************************
>
> You can find us at www.voca.com
>
> *****************************************************
> This communication is confidential and intended for the exclusive use
> of the addressee only. You should not disclose its contents to any
> other person.
> If you are not the intended recipient please notify the sender named
> above immediately.
>
> Registered in England, No 1023742,
> Registered Office: Voca Limited
> Drake House, Three Rivers Court,
> Homestead Road, Rickmansworth,
> Hertfordshire, WD3 1FX
>
>
> This message has been checked for all email viruses by MessageLabs.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This message has been checked for all email viruses by MessageLabs.
This message has been checked for all email viruses by MessageLabs.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]