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 » Java / C ++

Post new topic  Reply to topic
 Java / C ++ « View previous topic :: View next topic » 
Author Message
rax
PostPosted: Wed Feb 16, 2005 1:52 am    Post subject: Java / C ++ Reply with quote

Novice

Joined: 23 Feb 2004
Posts: 22

hi,
I've a problem related to java/ C++.
I've a java String object that is unicode (16 bit). if i send that String Object through Queue (WebSphere MQ ) and the other side one C++ application has to work on that String. Will it work? i m asking as in C++ size of string is 8 bit.

suggest me....

Thanks
-rax
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
PGoodhart
PostPosted: Wed Feb 16, 2005 4:42 am    Post subject: Reply with quote

Master

Joined: 17 Jun 2004
Posts: 278
Location: Harrisburg PA

As both have APIs that are designed for that particular language I don't think you'll have a problem. The string type is a part of the language, not MQ.
_________________
Patrick Goodhart
MQ Admin/Web Developer/Consultant
WebSphere Application Server Admin
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Feb 16, 2005 4:57 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

There's plenty of C support for Unicode.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
rax
PostPosted: Wed Feb 16, 2005 10:45 pm    Post subject: request for a snipped Reply with quote

Novice

Joined: 23 Feb 2004
Posts: 22

Thanks for ur response

Can u give me one example where native MQ application (C, C++) is serving a queue and a Java application is making a request to that queue and receiving the response.

A simple example will do enough.

Thanks & Regards
rax
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
jefflowrey
PostPosted: Thu Feb 17, 2005 5:04 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Any of the sample C programs that put messages will be able to talk to at least one of the Java sample programs that get messages.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Feb 17, 2005 7:54 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

There are several req/srv programs in C and Java at:

http://www.developer.ibm.com/tech/sampmq.html

Try getting some of them and playing around.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Java / C ++
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.