|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ 13 API calls in JAva |
« View previous topic :: View next topic » |
Author |
Message
|
visionofindia |
Posted: Thu Aug 16, 2007 8:50 pm Post subject: MQ 13 API calls in JAva |
|
|
 Newbie
Joined: 20 Nov 2003 Posts: 9 Location: Mysore, India
|
Men,
My understanding is that the 13 native calls of MQ API (MQCONN, MQPUT...) are NOT supported in Java, but are supported through JMS. Is this understanding right or am I amiss ?? Level of doubt is basic, but will definitely help. _________________ Later,
Sughosh |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Aug 16, 2007 9:46 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
Vitor |
Posted: Fri Aug 17, 2007 12:05 am Post subject: Re: MQ 13 API calls in JAva |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
visionofindia wrote: |
Men,
My understanding is that the 13 native calls of MQ API (MQCONN, MQPUT...) are NOT supported in Java, but are supported through JMS. Is this understanding right or am I amiss ?? Level of doubt is basic, but will definitely help. |
a) We're not all Men
b) You'll find what is and is not supported in Java by reading the Using Java manual. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
visionofindia |
Posted: Fri Aug 17, 2007 1:42 am Post subject: |
|
|
 Newbie
Joined: 20 Nov 2003 Posts: 9 Location: Mysore, India
|
Hello,
I am rephrasing what I understand..
WMQ provides WebSphere MQ classes for Java and WebSphere MQ classes for Java Message Service (JMS). Using either of these, a Java application will connect to a WebSphere MQ queue manager and access its resources. These classes provided by IBM internally implement the 13 MQ API calls. This is unlike in other programming languages like C, C++ or COBOL where we use the 13 MQ API calls directly.
I still ask is this understanding right ?? _________________ Later,
Sughosh |
|
Back to top |
|
 |
Vitor |
Posted: Fri Aug 17, 2007 1:51 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
visionofindia wrote: |
Using either of these, a Java application will connect to a WebSphere MQ queue manager and access its resources. |
Yes
visionofindia wrote: |
These classes provided by IBM internally implement the 13 MQ API calls. |
I don't know and provided they work I don't care.
visionofindia wrote: |
This is unlike in other programming languages like C, C++ or COBOL where we use the 13 MQ API calls directly. |
This would be because Java is an object orientated language rather than a procedural one that uses function call. The same sort of objects are used in C++ for the same reason. As you'd know if you'd looked it up
visionofindia wrote: |
I still ask is this understanding right ?? |
Why are you asking? What are you driving at? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Aug 17, 2007 3:41 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There are, generally, two styles of MQ APIs.
A procedural style, and an object oriented style.
C is a procedural style language.
C++ is an object oriented language.
Java is an object oriented language.
JMS is not an MQ API. JMS is a Java API, that can be used to talk to MQ.
Welcome to programming. Now you have to start learning how to think like a programmer. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|