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 » General Discussion » New to MQSeries

Post new topic  Reply to topic
 New to MQSeries « View previous topic :: View next topic » 
Author Message
mastanr
PostPosted: Thu Jul 21, 2005 10:31 am    Post subject: New to MQSeries Reply with quote

Novice

Joined: 21 Jul 2005
Posts: 10

Hello:
I am very new to MQSeries and I need your suggestion how to implement it. I am working on a java project and we are having a MQSeries on Mainframe host. Java program need to talk to MQSeries and get messages. This will request/reply messaging.

My question is do I really need MQServer or MQClient on Application server to talk to MQServer on Mainframes? OR I can use MQ API to connect to Host MQseries?

Thanks in advance.

Mastan.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jul 21, 2005 10:40 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can only talk to the mainframe if the mainframe has installed something called the Client Connection Facility. This is an extra charge item, so the mainframe group may not have purchased it.

You may be a lot better off working with a local MQServer, and establishing server to server connectivity, for a number of reasons.
1) It's probably less expensive long term.
2) It's a lot easier to work out the mainframe security for the server connection than it will be for all of the clients using your java application.
3) It will provide a much better separation between your application and the mainframe environment from a maintenance and support point of view.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mastanr
PostPosted: Thu Jul 21, 2005 11:38 am    Post subject: Reply with quote

Novice

Joined: 21 Jul 2005
Posts: 10

Thanks for your note. I guess I can use JMS client or MQ clinet to talk to MQ Server. Which one will be the better option?

jefflowrey wrote:
You can only talk to the mainframe if the mainframe has installed something called the Client Connection Facility. This is an extra charge item, so the mainframe group may not have purchased it.

You may be a lot better off working with a local MQServer, and establishing server to server connectivity, for a number of reasons.
1) It's probably less expensive long term.
2) It's a lot easier to work out the mainframe security for the server connection than it will be for all of the clients using your java application.
3) It will provide a much better separation between your application and the mainframe environment from a maintenance and support point of view.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jul 21, 2005 12:27 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

mastanr wrote:
Thanks for your note. I guess I can use JMS client or MQ clinet to talk to MQ Server. Which one will be the better option?


From Java, they are the same thing.

You have to have the WebSphere MQ java classes on your classpath. Both the JMS bindings and the WebSphere MQ API for Java are included in the Java API installation. You do not need a regular MQ Client installation on a machine to use either of the Java client APIs.

The decision to use JMS or the WebSphere MQ API for Java should be based on how strictly your java application is sticking to the J2EE standards.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Jul 22, 2005 12:02 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

We used to have a load of distributed MQ queue managers for desktop MQ clients to connect to. We replaced them with direct MQ client connection to mainframe. Much more reliable and far less administration.

I prefer an approach of having a few, highly available queue managers, eg mainframe, HA/CMP AIX or MSCS Windows. All application servers use MQ client connections.

The mainframe CCF cost may be an issue, depends how you pay for software - quite often it is a monthly charge or included in outsourcing arrangements.

I think it's worth the cost, especially as you can then use MQ client based tools like WMQTool or MQ Visual Edit to directly look at mainframe queues.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 22, 2005 3:18 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

zpat wrote:
I prefer an approach of having a few, highly available queue managers, eg mainframe, HA/CMP AIX or MSCS Windows. All application servers use MQ client connections.


This is somewhat difficult to do in a WAS environment where you need XA.

zpat wrote:
I think it's worth the cost, especially as you can then use MQ client based tools like WMQTool or MQ Visual Edit to directly look at mainframe queues.

The last shop I worked at that had a mainframe I had any dealings with, the mainframe folks would have popped their corks at the thought.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
zpat
PostPosted: Fri Jul 22, 2005 3:27 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Why, MQ is about all about platform independence. The mainframe is just another queue manager platform.

You can use the extended transactional client, but fortunately we have little need for XA, although we have tried it (painfully) on MQSI/WBIMB.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 22, 2005 3:34 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

zpat wrote:
Why, MQ is about all about platform independence. The mainframe is just another queue manager platform.


That last one is exactly why... it's a MAINFRAME, it's not "just another" anything...

Actually, it was because of security/auditing reasons.
_________________
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 » General Discussion » New to MQSeries
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.