Author |
Message
|
gaurav |
Posted: Thu Jul 05, 2007 11:38 pm Post subject: To Connect MQ on ISeries with Java |
|
|
Novice
Joined: 18 Jun 2007 Posts: 14 Location: Mumbai, India
|
I have a java code which connects to the Websphere MQ server on windows using com.ibm.mq.jar/connector.jar files.
Now there is another MQ Server on iseries which should be connected from Java.
Can i use my existing code to connect to iseries MQ? Can u provide me any links for this.
Thanks in advance |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jul 06, 2007 12:31 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
I thought the mission statement of Java was "write once, run anywhere"?
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
gaurav |
Posted: Fri Jul 06, 2007 12:39 am Post subject: |
|
|
Novice
Joined: 18 Jun 2007 Posts: 14 Location: Mumbai, India
|
thats true,
but there is a change in websphere MQ which was earlier installed on windows and now it has moved to ISeries.
The java application is still running on windows, but this time MQ location has changed to iseries.
Is that change going to have any impact on my java application? Can i run my java app as it is, with necessary connection changes for iseries?
Vitor
Have i made the problem clear???? |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jul 06, 2007 12:47 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
gaurav wrote: |
thats true,
but there is a change in websphere MQ which was earlier installed on windows and now it has moved to ISeries.
The java application is still running on windows, but this time MQ location has changed to iseries.
Is that change going to have any impact on my java application? Can i run my java app as it is, with necessary connection changes for iseries?
Vitor
Have i made the problem clear???? |
I was making a more political point, that Java is supposed to be a universially locatable language. I would have thought that if you're got the underlying IBM libraries and jar files for the platform you're on it'd work.
But I know very little about Java - ask anyone here! Someone who knows will probably be along in a minute.
Or you could try it and see what happens. Worst that will happen is it won't work. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 06, 2007 1:35 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
There are no changes to any MQ application that is already making a client connection, when the server on the other end is on one platform or a different platform.
It is possible to write an MQ application that is tied to having the MQ server run on a particular platform. It is somewhat hard to do, and somewhat harder to do in Java.
If you have managed to do this, you will find out almost immediately when you try to run against an iSeries qmgr. Nobody will be able to process your messages. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
gaurav |
Posted: Fri Jul 06, 2007 2:20 am Post subject: |
|
|
Novice
Joined: 18 Jun 2007 Posts: 14 Location: Mumbai, India
|
My understanding of what u have said is that there are going to be no changes in the existing Java code. Only the configuration parameters required for an iseries connection would be changed. Rest of things will remain as it is. right..????
Please correct me if iam wrong.
And one more thing:
what do u mean when u said that 'nobody will be able to process ur messages'?? |
|
Back to top |
|
 |
Vitor |
Posted: Fri Jul 06, 2007 2:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
gaurav wrote: |
My understanding of what u have said is that there are going to be no changes in the existing Java code. Only the configuration parameters required for an iseries connection would be changed. Rest of things will remain as it is. right..????
Please correct me if iam wrong. |
What happens when you try it?
gaurav wrote: |
what do u mean when u said that 'nobody will be able to process ur messages'?? |
If it doesn't work, no one will be able to process the output from your application, will they?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
gaurav |
Posted: Fri Jul 06, 2007 2:48 am Post subject: |
|
|
Novice
Joined: 18 Jun 2007 Posts: 14 Location: Mumbai, India
|
The Iseries server is in United States, it is down for backup.
Ill send a reply once it is done. |
|
Back to top |
|
 |
|