Start United States USA — software How to Split Up Synchronous and Asynchronous Parts of Your System in...

How to Split Up Synchronous and Asynchronous Parts of Your System in Java

242
0
TEILEN

Check out this post to learn how you can split up your system by synchronous and asynchronous parts using Java.
Let’s be friends:
Comment (0)
Join the DZone community and get the full member experience.
A lot of developers say that it’s very complicated to switch their applications over to asynchronous processing because they have a web app with naturally synchronous communication. In this post, I would like to introduce one way to do it using a few well-known libraries and tools to use while designing their systems. The example below is written in Java but I believe it’s more about the basic principles and the same app can be re-written into any language.
Tools and libraries needed:
A web application is written in Spring MVC and running on Tomcat. What it does is send a string to a queue (the start of asynchronous communication) and waiting for a message in a different queue to send it back as an HTTP response.

Continue reading...