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 » Need Simple Java Code to connect to WebSphere MQ

Post new topic  Reply to topic
 Need Simple Java Code to connect to WebSphere MQ « View previous topic :: View next topic » 
Author Message
Java_Problem
PostPosted: Tue Jul 22, 2008 6:18 pm    Post subject: Need Simple Java Code to connect to WebSphere MQ Reply with quote

Newbie

Joined: 16 Jul 2008
Posts: 9

Hello All

I am looking for a very simple Java code to connect to WebSphere MQ. I don't have any application server and is using Java 1.5 so please do specify the Jars that I may need (and place from where I can get those Jars)


Please forward me simple pure Java code to connect to WebSphere MQ

Thanks a lot
Back to top
View user's profile Send private message
AkankshA
PostPosted: Tue Jul 22, 2008 7:58 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

check out this...

http://developerworks.krugle.com/kse/files?query=java%20to%20MQ%20message#1
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
Java_Problem
PostPosted: Wed Jul 23, 2008 6:19 am    Post subject: Reply with quote

Newbie

Joined: 16 Jul 2008
Posts: 9

Though the URL will surely help me when I go indepth, but at this point I am just looking for some plain simple Java code that connects to WebSphere MQ. I have Java 1.5 running and no application server

Thanks again
Back to top
View user's profile Send private message
manicminer
PostPosted: Wed Jul 23, 2008 6:45 am    Post subject: Reply with quote

Disciple

Joined: 11 Jul 2007
Posts: 177

Have you tried looking at the samples that come with the product? And I am sure that you will find which jar files you need by reading the product manuals.

edit:

In fact I'll go one step further and tell you to read the "Using Java" manual which will tell you all about samples, the API, which jar files you need etc. etc.
Back to top
View user's profile Send private message
zpat
PostPosted: Wed Jul 23, 2008 7:55 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

See this page for sample code

http://www-304.ibm.com/jct09002c/isv/tech/sampmq.html
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed Jul 23, 2008 7:46 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

You'll also find a list of Java base MQ (34 samples) and Java / JMS (15 samples) here:
http://www.capitalware.biz/mq_code_java.html

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Need Simple Java Code to connect to WebSphere MQ
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.