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 Java / JMS » considerations for Java to non-Java communication?

Post new topic  Reply to topic
 considerations for Java to non-Java communication? « View previous topic :: View next topic » 
Author Message
eddie
PostPosted: Mon Jun 03, 2002 7:50 am    Post subject: considerations for Java to non-Java communication? Reply with quote

Novice

Joined: 03 Jun 2002
Posts: 13
Location: Philadelphia

Hi,

I'm new to MQSeries. I'm a java programmer developing on a sun solaris box. I need to write an application that will communicate with a program run on an AS400 machine (implementation language undecided, but not Java).

I have succesfully written test programs in Java to send and receive messages using the writeUTF() and readUTF() methods respectively.

I'm looking for any pointers regarding how to handle the communication with a different platform and implementation language.

1) I presume I will be unable to continue using the writeUTF() and readUTF() functions.... is this correct?

2) I read somewhere that it is recommended to use plain character strings for communication across systems (I plan on using XML anyway). Does this mean that I have to agree on a limit to the size of the strings being passed over?

3) Are there any other considerations you think I should keep in mind.

Thanks in advance for your help.

Edward Meyer
Back to top
View user's profile Send private message Send e-mail
mrlinux
PostPosted: Mon Jun 03, 2002 7:58 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

To answer to your questions

1) Yes. There is a field within the mqmd that needs to be set to MQSTR
Also since you are sending to an EBCDIC machine your channels should have the convert parameter set to YES
2) As far as message limit, the default is 4mb for a single message unless you have v5.2 on the AS400 which should support 100mb.
There are provisions provided to segment messages if you need bigger messages.
3) Always use the MQGET with convert on.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » considerations for Java to non-Java communication?
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.