Hi Mike, In answer to your earlier question:
> Also, is there parallel work being done on an update of the Remote Services > specification to add these async features, or will this be done in a new > > iteration after this specification is finalised? Normally OSGi specifications are only directly connected if one actually depends on the other. RSA implementations may or may not support asynchronous communications, and it would be very constraining to force all providers to implement asynchronous behaviours. I would, however, expect RSA providers that do support asynchronous communications to choose to integrate with Async Services. This can easily be accomplished by having the imported services implement the AsyncDelegate interface. The advantage of this mechanism is that clients can use the Async service to make asynchronous calls on a service, and then it doesn’t matter whether the underlying service is local, remote and synchronous, or remote and asynchronous. The Async service then performs the correct delegation under the covers. Regards, Tim On 12 Mar 2014, at 03:30, Scott Lewis <[email protected]> wrote: > Hi Mike, > > On 3/11/2014 5:28 PM, Mike Wilson wrote: >> Thanks Scott, >> So you plan to release and connect the new Async API to your Remote Services >> implementation before the RS spec is actually "upgraded"? That sounds >> interesting. > > No...we will add the Async API when it's done/specified/approved released in > R6. > > Our existing remote service API makes it easy for us to connect the Async API > to any provider implementation (happy to give specifics if you want but > probably would be over-sharing here)...and I am playing around with that > now...but we won't release anything until the Async API is released. > >> Is your async implementation also able to delegate the async callback stuff >> to the JMS provider, to save threads? > > Yes. > > Scott > > > _______________________________________________ > OSGi Developer Mail List > [email protected] > https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
