ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ 13 API calls in JAva

Post new topic  Reply to topic
 MQ 13 API calls in JAva « View previous topic :: View next topic » 
Author Message
visionofindia
PostPosted: Thu Aug 16, 2007 8:50 pm    Post subject: MQ 13 API calls in JAva Reply with quote

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
View user's profile Send private message Send e-mail
Michael Dag
PostPosted: Thu Aug 16, 2007 9:46 pm    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

and where did you get that understanding?
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Vitor
PostPosted: Fri Aug 17, 2007 12:05 am    Post subject: Re: MQ 13 API calls in JAva Reply with quote

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
View user's profile Send private message
visionofindia
PostPosted: Fri Aug 17, 2007 1:42 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Vitor
PostPosted: Fri Aug 17, 2007 1:51 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 17, 2007 3:41 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » MQ 13 API calls in JAva
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.