The three different applications can
exchange information over SOCKETS.
Well JMS is a simply an application to which you can publish messages, and anyone subscribed to it will receive messages from it. It can run locally on a desktop OR it can be running on server side.
Your design/architecture is largely dependent on whether yours is a web-application or a desktop application.