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 » MQ pub/sub without installing the MQ Client

Post new topic  Reply to topic
 MQ pub/sub without installing the MQ Client « View previous topic :: View next topic » 
Author Message
undetected
PostPosted: Fri Sep 16, 2005 2:21 pm    Post subject: MQ pub/sub without installing the MQ Client Reply with quote

Newbie

Joined: 16 Sep 2005
Posts: 2
Location: MN

Can I send/receive messages to/from MQ through JMS without installing the MQ client?

I'm developing a rich client application that gets downloaded via Java WebStart, and that client needs to subscribe to a JMS topic. We're using WebSphere MQ 5.3 / JMS 1.0.1, and my application will be downloaded from a Tomcat server.

I don't have access to a JNDI server right now (Tomcat doesn't support external JNDI requests), and all the examples on http://www.developer.ibm.com/isv/tech/sampmq.html required an InitialContext (which I assumed meant it used JNDI to look up a CF).

I initially developed my app with ActiveMQ (while I waited for my MQ setup), and with that I just created an ActiveMQConnectionFactory and supplied server URLs.

TIA.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Sat Sep 17, 2005 6:18 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You're vaguely in luck.

Assuming you don't need two-phase commit.

The MQ Java API is 100% pure java. So you can download just the appropriate jar files as part of your java webstart process.

The Using Java manual has an explicit page or two in the JMS section on creating MQ JMS objects without using JNDI.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
undetected
PostPosted: Mon Sep 26, 2005 11:44 am    Post subject: Reply with quote

Newbie

Joined: 16 Sep 2005
Posts: 2
Location: MN

Thanks! I found it and managed to get help on the property values I needed to connect to our MQ provider.

For those listening, it's Chapters 10 & 11 that served my needs.
Back to top
View user's profile Send private message
jinko
PostPosted: Tue Oct 18, 2005 11:20 pm    Post subject: Reply with quote

Newbie

Joined: 13 Oct 2005
Posts: 4

So using the MQ jms api we don't need to install the MQ client even if the MQ server is on a remote machine?
Back to top
View user's profile Send private message
wschutz
PostPosted: Wed Oct 19, 2005 2:28 am    Post subject: Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

jinko wrote:
So using the MQ jms api we don't need to install the MQ client even if the MQ server is on a remote machine?
Correct.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ pub/sub without installing the MQ Client
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.