jQuery in Action, 2nd edition*
The moose likes EJB and other Java EE Technologies and the fly likes Do we need MQ and JMS both ? 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 "Do we need MQ and JMS both ?" Watch "Do we need MQ and JMS both ?" New topic
Author

Do we need MQ and JMS both ?

rajiv nair
Greenhorn

Joined: Feb 07, 2002
Posts: 15
Hi

I am new to MQ and JMS . This is what I am supposed to do. I have a UNIX batch box which runs batch JAVA program ( The job is not running on Websphere layer, but on a normal unix box). This JAVA program creates an XML file which need to be PUT in the MQ asynchronoulsy . Do we need both MQ and JMS to manage this ?.
What is the advantage of using both ?.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41114
    
  45
While MQ probably has its own proprietary API, I'd advise to use JMS if at all possible. It's the standard API for accessing message queueing systems in Java, and using that instead of a product-specific API will make the code more portable.


Ping & DNS - my free Android networking tools app
rajiv nair
Greenhorn

Joined: Feb 07, 2002
Posts: 15
Thanks Ulf for the suggestion
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Do we need MQ and JMS both ?
 
Similar Threads
WebSphere MQ JMS Question
Bridging JMS + IBM MQ on BEA
MQ Series Usage Problem
Using MQ Client
Doubt about JBoss & JBoss MQ