Hello there,

I am somewhat confused about what composite scoped means in SCA.
If a component has composite scope, Tuscany will ensure that
the same instance is used for all requests. This sounds a lot
like the singleton pattern. 

Is it possible for an ordinary (non-SCA) Java client to discover and 
use that same instance directly? In what way does the Tuscany runtime 
come into play here? 

For example, when I access the service through a web service
binding, I do so through the Tuscany internal webserver, which
would ensure that the "singleton" is addressed. But what happens when
I retrieve a remote object manually from the rmi registry? Will it 
also point to the "singleton", or can it happen that a new service
component instance is created?

Is there an API to discover the services that are already instantiated 
in a domain/JVM/node (whatever)? The diverse factories in Tuscany seem to 
always want to construct new nodes or domains.

I am not even sure this question makes any sense at all...
-- Sebastian

Reply via email to