-
1. Re: Webservices keeping in line with Asynchronous Design Pri
marklittle Apr 16, 2008 2:00 PM (in response to chuckp)You can always make your Web Service a synchronous endpoint into an asynchronous world. Asynchronous continuations are a pretty common approach to what you mention. Certainly as we've been pushing the WS-* architecture away from the original RPC to "asynchronous" one-way invocations, that's the pattern we've also been encouraging. WS-Addressing (or even better, WS-Context) provide good support for this approach. It works just as well in the ESB too.
-
2. Re: Webservices keeping in line with Asynchronous Design Pri
kconner Apr 16, 2008 2:50 PM (in response to chuckp)I talked with Chuck on the IRC channel earlier today and pointed him at the asynchronous continuation example I put together for the current codebase http://wiki.jboss.org/wiki/en/AsyncContinuation.
This demonstrated the solution he was looking to implement in this case. The unfortunate issue is that this does not work on the 4.2.1GA release but does work on the current trunk. -
3. Re: Webservices keeping in line with Asynchronous Design Pri
marklittle Apr 16, 2008 4:11 PM (in response to chuckp)Cool. As we've been saying from the start, async should always be the default interaction pattern if you want to maintain loose coupling and reduce the brittleness of your application. The example on the wiki is a nice addition. You should blog about that (first one ;-)
-
4. Re: Webservices keeping in line with Asynchronous Design Pri
kconner Apr 17, 2008 2:05 AM (in response to chuckp)Thanks, I will :)
I am waiting for the next project release to go out (real soon now) before making a big deal of this.
But yes, it is about time I started blogging about these issues :) -
5. Re: Webservices keeping in line with Asynchronous Design Pri
marklittle Apr 17, 2008 4:29 AM (in response to chuckp)I'm not going to comment ;-)
-
6. Re: Webservices keeping in line with Asynchronous Design Pri
tfennelly Apr 17, 2008 6:13 AM (in response to chuckp)Go on Kev... don't be shy... even I've done one lol