The OASIS SCAClientFactory uses a domainURI to define the which domain
to access. In Tuscany today we've various ways thats used that but
there's never been much discussion about the format of the URI, do we
need to do that? As an example, here's how the API is used:

 SomeService s =
SCAClientFactory.newInstance(domainURI).getService(SomeService.class,
"SomeComponent");

So the domainURI could be things like:

"myDomain" - assumes only the Tuscany SCAClientFactoryImpl on the
classpath, and that there is a domain in the local JVM called myDomain
"tuscany:myDomain" - use the Tuscany SCAClientFactoryImpl and there is
a domain in the local JVM called myDomain
"tuscany:myDomain?remote=9.120.1.1:14820" - a remote domain called
myDomain on a remote machine running Tuscany listening on IP address
9.120.1.1 port 14820

I'm not sure we should do the first of those as it would prevent an
other runtimes SCAClientFactoryImpl from being used. Are we happy with
the "tuscany" URI prefix, do we need to make that different or
pluggable?

Any comments, do we want that, or something more, or something different?

   ...ant

Reply via email to