• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

JMS

 
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the difference between Sun's JMS API and WebSphere MQ API?
Many people usually say that Sun's JMS is an interface and MQ JMS is an implementation of that for IBM WebSphere MQ.
But my question is why should i buy IBM MQ-Series when i can use JMS which should be supported by all J2EE application Servers including websphere application server.

any help will be appreciated
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Raj

The JMS API is indeed an interface. You will still need some implementation for it. A J2EE server must provide an implementation. But this will not always solve your problems.

The J2EE server's implementation of JMS will only provide you with queues within the J2EE server. When you need to communicate outside of your J2EE server you need some extra plumbing.

Websphere MQ is known for its multi-platform/multi OS implementation. If you need to communicate with lots of applications on lots of different OS'es, you might consider Websphere MQ.

At the company I work for, we use WebLogic in combination with Websphere MQ. For J2EE internal communication we use WebLogic JMS queues. When we need to talk to "outside" systems (like our mainframe or to systems from other companies) we use WebSphere MQ.

Hope this helps...

greetings,
Maarten
 
raj joe
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Maarten
Can you please highlight on some features in MQ that will not be available in app server JMS implemetation.

Secondly ,I have two application with Weblogic App Server , I am trying to use JMS to communicate between these application which are physically residing on different machines.Is this fine OR do I need MQ here.


Raj[/qb]
[ April 13, 2006: Message edited by: raj joe ]
 
Maarten de Heus
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rai,

Communicating between WLS servers should not be a problem. You can use a WLS message bridge to "cross the gap".

MQ comes in when you need to talk to "other" applications written in Cobol or C++ , etc. running on other OS-es like a mainframe.

greetz,
Maarten
 
raj joe
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Maarten de Heus:
Rai,

Communicating between WLS servers should not be a problem. You can use a WLS message bridge to "cross the gap".

MQ comes in when you need to talk to "other" applications written in Cobol or C++ , etc. running on other OS-es like a mainframe.

greetz,
Maarten




Maarten , just to understand the second point.Assume I have two application one residing on XP (j2ee application running on IBM websphere app server) and other on mainframe(Cobol application).Now I have to requirement to send daat from j2ee java application to get that updated in a mainframe DB.

Now my J2ee appplication produces a JMS message and adds to the Q defined in the app server.
Can i not have a IBM webpshere app server running on a mainframe and have the MDB listing to the Q created in my J2EE application app server instance.The MDB then uses some JCA to update the data to the mainframe DB.

Will this approach work?
How does any MQ help in this case?
[ April 21, 2006: Message edited by: raj joe ]
 
All of life is a contant education - Eleanor Roosevelt. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic