For communication between applications, JMS is a very good solution, especially for events and notifications. JMS allows you to send and receive such notifications using the so-called asynchronous messaging, according to which the sender and receiver do not know each other and should not be available at the same time.
ActiveMQ is a very widely used message broker that provides client APIs for Java, C / C ++, C #, Perl, PHP, Python, Ruby and others. This allows you to use JMS with applications written in Java and other languages.
I have implemented JMS messaging many times for a large number of business situations to handle events and notifications. The vast majority of these times, I recommended and / or used Spring JMS no matter which message broker is used. Spring JMS is incredibly easy to use, extremely robust and highly scalable. Spring JMS eliminates the complexity of creating your own message producers and message consumers, which can save you a tremendous amount of time.
To find out how easy it is to send messages using Spring JMS, see a blog post I recently wrote called Using Spring JmsTemplate to Send JMS Messages . I am also working on a blog post about receiving posts using Spring JMS.
If you have further questions, let me know.
Bruce
source share