On Jan 24, 2008 7:47 PM, Jean-Sebastien Delfino <[EMAIL PROTECTED]>
wrote:

> ant elder wrote:
> [snip]
> >
> > The (F), (G) and (H) would use the packaging in your (B). For your (B)
> > how/where were you expecting those sca contribution jars to get used?
>
> Ah I'm happy to see that there are not so many packaging schemes after
> all :)
>
> We've already started to discuss contribution usage scenarios in [1].
>
> Here's a longer scenario, showing how I want to use contributions and
> composites in a domain for the store tutorial I've been working on.
>
> There are three contributions in the tutorial:
> - assets.jar containing most implementation artifacts
> - store.jar containing the main store components
> - cloud.jar containing utility components in the service "cloud"
>
> Both store.jar and cloud.jar import artifacts from assets.jar.
>
> 1. Create assets.jar and store.jar (using scheme B).
>
> 2. Open my tutorial domain in my Web browser, upload store.jar to the
> domain.
>
> 3. List the contributions in the domain, store.jar shows a red-x error
> as some of its imports are not resolvable.
>
> 4. Upload assets.jar. Both assets.jar and store.jar show in the list
> with no red-x.
>
> 5. List the deployable composites, find http://store#store under
> store.jar. Open it in my browser to check it's what I want.
>
> 6. Mark http://store#store as deployed. Store has a reference to a
> CurrencyConverter service (from composite http://cloud#cloud which is
> not in my domain yet) so it shows a red-x and appears disabled.
>
> 7. Upload cloud.jar, find deployable composite http://cloud#cloud in it,
> mark it deployed. The red-x on deployed composite http://store#store is
> now gone.
>
> 8. Assuming I have 2 machines for running SCA in my network and have
> already declared these 2 machines to my domain, allocate composites to
> them. Select http://store#store and associate it with machine1.
> Store.jar and assets.jar are downloaded to machine1 and machine1
> configured with http://store#store.
>
> 9. Select http://cloud#cloud and associate it with machine2. Cloud.jar
> and assets.jar are downloaded to machine2 and machine2 is configured
> with http://cloud#cloud.
>
> 10. Display the list of deployed composites, select http://store#store,
> click the start button, select http://cloud#cloud, click start.
>
> Hope this helps.
>
> [1] http://marc.info/?l=tuscany-dev&m=119952302226006
>
> --
> Jean-Sebastien
>
>
That all sounds wonderful, will be really good when we get to there. There's
a lot to do for all that to work though so as a stepping stone how about
getting this to work on a single node first without the gui and individual
deployment steps and then add those things once we have something basic
working?

Where do we want this to run? - I'd quite like at least one of the options
to be as a regular webapp in Tomcat.

   ...ant

Reply via email to