Tag Archives: asynchronous

Using Asynchronous timeouts in the Java WebSocket API

Sending messages in an asynchronous manner avoid blocking the sending thread. This is a great where your solution needs to scale in order to support a large number of clients. But there is a limit on how long can we … Continue reading

Posted in Java, Java EE | Tagged , , , , , | Leave a comment

Nuances of JAX-RS client side async callback

Going async with JAX-RS JAX-RS provides client side asynchronous behavior to complement its server side counterpart. It’s powered by the AysncInvoker interface – the best part if that you do not need to get hold of it explicitly. The fluent … Continue reading

Posted in Java, Java EE | Tagged , , , | Leave a comment

Asynchronous JAX-RS: basics & gotchas

This blog post covers asynchronous programming support in JAX-RS and some of its potential gotchas along with a sample (maven based) Java EE project on Github Man, I tend to blog a lot about JAX-RS and REST ! Basics of server side async … Continue reading

Posted in Java EE | Tagged , , , , | 1 Comment

Handling time outs in Async requests in JAX-RS

JAX-RS 2.0 provides support for asynchronous programming paradigm, both on client as well as on the server end. This post which highlights the time out feature while executing asynchronous REST requests on server side using the JAX-RS (2.0) API Without … Continue reading

Posted in Java, Java EE | Tagged , , , , , | Leave a comment

Java EE: Asynchronous constructs and capabilities

Introduction Java EE has a number of APIs and constructs to support Asynchronous execution. This is vital from a scalability and performance stand point. Let us assume 2 modules which are interacting with each other. When moduleA (the sender) sends a … Continue reading

Posted in Java, Java EE | Tagged , , , , , , , , , | Leave a comment