I'm seeking to have multiple response capabilities inside Tuscany for some time now. This behavior meets some limitations at the moment but not in the reference - service communication (as there are protocols which enable that natively). The problem is how Tuscany makes the call to the service implementation which is made via reflection (receives a single response per request).
Are there other mechanisms to do the call to the service implementation so that multiple responses can be received? Will the changes to the async infrastructure enable or facilitate this type of communication? Or is it single response oriented? I've tried to simulate a callback mechanism between the Tuscany service and the actual service implementation for the comet binding but didn't succeed (fails with some strange errors on startup). The mechanism consists in declaring callbacks with the @Callback annotation between the Tuscany service and the service implementation which looks like trying to start up Tuscany in Turscany :) You can check out my experiment here [1] (the modified runtime and sample). Any advice is welcome. [1] http://svn.apache.org/repos/asf/tuscany/sandbox/fmoga/ On Mon, Dec 6, 2010 at 1:05 PM, Simon Laws <[email protected]>wrote: > On Mon, Dec 6, 2010 at 10:55 AM, ant elder <[email protected]> wrote: > > > > > > On Mon, Dec 6, 2010 at 10:50 AM, Simon Laws <[email protected]> > > wrote: > >> > >> > > >> > If you don't have any other preference how about using the hazelcast > >> > binding > >> > so that the async invocations work across the distributed domain? See > >> > > >> > > https://svn.apache.org/repos/asf/tuscany/sca-java-2.x/trunk/modules/domain-hazelcast/src/main/java/org/apache/tuscany/sca/binding/hazelcast/ > >> > > >> > ...ant > >> > >> I'll take a look. > >> > >> Simon > >> > > > > Actually, right after i posted that i remembered TUSCANY-3792 about the > > distributed domain being broken, so if you want to avoid getting tangled > up > > in that it might not be the best one to use first. > > > > ...ant > > > > > > Ok, understood, thanks for the warning. > > Simon > > -- > Apache Tuscany committer: tuscany.apache.org > Co-author of a book about Tuscany and SCA: tuscanyinaction.com >
