Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.

Integrating with a Messaging System


The idea behind the messaging example is that our application will send an order form to the backend system using JMS. The backend system here is a Python script that accesses the JMS messaging server, ActiveMQ.

Setting up Queues in Geronimo

In this messaging example, we use an open-source JMS messaging server, ActiveMQ, that is a part of the Geronimo application server. ActiveMQ is very good for testing our application since it supports a protocol called STOMP (Streaming Text Oriented Messaging Protocol, a text based protocol). STOMP enables many kinds of programming languages to participate in JMS messaging (even Telnet is possible; useful for quick testing) so we can use the existing tool as our "order system" in our example. When the "order system" (a Python program) receives the order it verifies it. Then, we manually send an order confirmation message back to the ActiveMQ messaging system and to our application. Then our application updates the web...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
DWR Java AJAX Applications
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon