...
Online mode: There is a live service registry (centralized or distributed)
that keeps up-to-date information of the domain-level service descriptions.
Offline mode: The domain-level service descriptions are pre-built (or even
pre-resolved) and a SNAPSHOT of that is used. For example, some XML
documents (such as a deployment composite with all the SCA endpoints)
resolved are used to store the domain metadata.
Variations of use cases at different levels
Contributions
...
...
Case | Options |
---|---|
a1 |
A single contribution |
a2 |
...
Multiple dependent contributions |
where each contribution can be directories, jar, zip, bundle, war, ear...
Composites (when one or more are present in a contribution)
...
...
|
|
|
---|---|---|
b1 |
one or more composite files but which are not listed in |
|
b2 |
...
one or more composite files but which are listed in |
| |
b3 |
...
one or more composite files but which are present in |
|
Nodes (where node = the wrapper for an instance of Tuscany runtime)
...
...
|
|
|
---|---|---|
c1 |
node(s) with contributions passed in on command line, |
|
c2 |
...
node(s) with contributions pulled from domain manager |
| |
c3 |
...
node(s) in a webapp |
| |
c4 |
...
node(s) as eclipse project(s) |
| |
c5 |
...
node(s) integrated into Tomcat and Geronimo plugin |
| |
c6 |
...
node(s) as OSGi service listeners? (is that the right term?) |
| |
c7 |
...
node(s) in cloud (what does this mean) |
|
One or more nodes may run in a single VM
Scenarios (and implications for what the runtime has to do)
...
...
|
|
|
---|---|---|
|
1 node configured from command line, programmatically, in node.xml (c1) |
...
| |
| 1 |
...
node configured from command line, programmatically, in node.xml (c1) |
|
|
...
1 node packaged with webapp (c3) |
|
|
...
tomcat instance as a domain (c5) |
|
|
...
eclipse workspace as domain (c4) |
...
| ||
|
|
|
...
As a review exercise can we correct/complete this list by getting all
of the scenarios people have in their heads out on the table. I
believe we have all imagined different scenarios.
...