+1 for the Calculator Sample

With respect to reuse, I am imagining as follows: -
- that overall there is a directory called 'sample\interface' that will
contain all service interfaces (java, wsdl and so on ) that are going to
used in the samples
- that there is another directory 'sample\impl' that will contain
implementations and componentType side files (maybe both interface and impl
can reside in the same dir)

Then all samples will contain only assemblies (scdls) that will use
implementations out of this common pool.  For example if I need to
demonstrate javascript container then I add javascript implementation for
the Calculator (say)  into that common pool.  Then in the sample I would use
the implementation that I have pushed into this pool.

Would there be hassles with this?  Or I am thinking very simplistic ;-)

Thanks

- Venkat

On 9/13/06, ant elder <[EMAIL PROTECTED]> 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]
>
>


Reply via email to