File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes JMS Examples Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS Examples" Watch "JMS Examples" New topic

JMS Examples

Khaled Mahmoud
Ranch Hand

Joined: Jul 15, 2006
Posts: 361
I am now in the process of learning and reading about JMS. Can somebody give me an example from his practical experience on a system that uses JMS and the name of the JMS provider used.

Life is the biggest school
Jimmy Ho
Ranch Hand

Joined: Jul 31, 2007
Posts: 61
WebSphere MQ (formerly MQ-Series) by IBM implements JMS interfaces. That is, if you include the right MQ jar files (can't remember which), you can hook up to an WMQ queue using JMS. Of course, there's a gazillion uses of this. Anyone who was using MQ can now take a more 'modern' web application and hook it up to a legacy mainframe or other system that was using MQ to begin with. And so on...

There are numerous examples of this, but I would just recommend wading through IBM's copious documentation and tech articles. Try searching on and on IBM's developerWorks sites.
Khaled Mahmoud
Ranch Hand

Joined: Jul 15, 2006
Posts: 361
I realized through reading about Messaging Systems and JMS is that the most common reason for using JMS is integration between applications especially Integration between modern applications and legacy applications.
I still cannot understand or feel the role of Messaging Systems.

Jimmy : Do you have more real-life examples about Messaging Systems.
Arun Seshadri

Joined: Dec 22, 2005
Posts: 18
From my experience as Jimmy mentioned we can integrate modern systems with legacy apps such as mainframe.

I have worked on Java Application (Front End) that uses JMS to transfer XML files/messages to the Backend for processing. The front end creates an XML file and stores them in the MQ Queue which then invokes a shell script that will pass the message to a COBOL program for further processing and creating reports, Update the database or bulk file processing etc, etc.

Hope this helps.
I agree. Here's the link:
subject: JMS Examples
jQuery in Action, 3rd edition