Skip to content

Instantly share code, notes, and snippets.

@egi
Last active August 29, 2015 14:17
Show Gist options
  • Save egi/1f8139b94e2cb42c41fd to your computer and use it in GitHub Desktop.
Save egi/1f8139b94e2cb42c41fd to your computer and use it in GitHub Desktop.
working on async web service client, ideally, in jboss
http://docs.oracle.com/javaee/6/tutorial/doc/gkkqg.html Session beans can implement asynchronous methods, business methods where control is returned to the client by the enterprise bean container before the method is invoked on the session bean instance. Clients may then use the Java SE concurrency API to retrieve the result, cancel the invocation, and check for exceptions. Asynchronous methods are typically used for long-running operations, for processor-intensive tasks, for background tasks, to increase application throughput, or to improve application response time if the method invocation result isn’t required immediately. https://today.java.net/article/2006/09/15/asynchronous-web-service-invocation-jax-ws-20 Asynchronous Invocation with a Port Proxy http://www.mastertheboss.com/javaee/jboss-web-services/asynchronous-web-services-with-jboss-ws Web Service client with Dynamic Proxy Web Service client with Dispatcher http://grails.github.io/grails-doc/3.0.x/guide/async.html 10 Asynchronous Programming https://satishgopal.wordpress.com/2011/04/24/ejb-3-1-asynchronous-methods/ One of the important features in EJB 3.1 is the ability to make asynchronous method calls. While the spec has always prevented spawning of user threads explicitly and still does so, at least now there is a way to achieve asynchronous behavior in a simple way. http://www.ibm.com/developerworks/library/j-grails11188/ Mastering Grails: Asynchronous Grails with JSON and Ajax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment