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 » MQSeries newbie

Post new topic  Reply to topic
 MQSeries newbie « View previous topic :: View next topic » 
Author Message
toadie
PostPosted: Tue Jun 14, 2005 1:55 pm    Post subject: MQSeries newbie Reply with quote

Newbie

Joined: 14 Jun 2005
Posts: 5

Hi
We have a customer who wants us to connect to their MQSeries box. We are primarily Java/JMS (non WebSphere) shop. Our preference is to use a standard JMS client to submit / pull message out of MQSeries.

Does anyone have links to documentation on how to connect to MQSeries via standard J2EE JMS implementation?

Additional questions that I have are:
- what authentication model does MQSeries support when connecting via JMS client? (standard userid/password, Certificate, etc..)
- is the transport layer secure (e.g. via ssl) ?
- any gotchas in such an implementation?

Thanks.
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Jun 14, 2005 2:08 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

The documentation link on the top of this page will take you to all the manuals.
You can take a look at Using Java/JMS manual on how to implement JMS against MQ as the JMS providers.

Quote:
what authentication model does MQSeries support when connecting via JMS client? (standard userid/password, Certificate, etc..)

You can use whichever you want to

Quote:
- is the transport layer secure (e.g. via ssl) ?

If you want you can secure it using SSL
Back to top
View user's profile Send private message Send e-mail Visit poster's website
toadie
PostPosted: Tue Jun 14, 2005 6:13 pm    Post subject: Reply with quote

Newbie

Joined: 14 Jun 2005
Posts: 5

Hello

[quote="vennela"]The documentation link on the top of this page will take you to all the manuals.
You can take a look at Using Java/JMS manual on how to implement JMS against MQ as the JMS providers.

[quote]

unfortunately, the documentation link above points to a non-existing page.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jun 14, 2005 6:39 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

toadie wrote:
Hello

vennela wrote:
The documentation link on the top of this page will take you to all the manuals.
You can take a look at Using Java/JMS manual on how to implement JMS against MQ as the JMS providers.



unfortunately, the documentation link above points to a non-existing page.


Check out the cross platform Using java at
http://www-306.ibm.com/software/integration/mqfamily/library/manualsa/index.html

As well if you are concerned about security use SSL.
And do a search on this site on the subject security hole...

Enjoy
Back to top
View user's profile Send private message Send e-mail
toadie
PostPosted: Thu Jun 16, 2005 8:25 am    Post subject: Reply with quote

Newbie

Joined: 14 Jun 2005
Posts: 5

fjb_saper
Thanks for the link. I was hoping to find a way to talk to MQSeries via Java using a pure J2EE method (non com.ibm.mq.* classes), but unable
to find those info on the provided link.

I've read somewhere that MQSeries , now known as WebSphereMQ, supports a JMS based messaging interface. However, if the classes com.ibm.mq.* are required then I'd still be locked into a proprietary implementation.


Thanks.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jun 16, 2005 8:42 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

All JMS implementations are "propriatary", unless they are open source. And even then, in your sense, they are still "proprietary".

That does not mean your code has to be tied to a particular implementation. That's the whole point of "standards" and using interfaces versus implementations.

If you write your code to be only and fully compliant to the JMS specification, then whatever JMS provider you use, the code should function. And you should be able to implement a WebSphere MQ JMS provider without making your code specific to that provider.

You will, however, have to install and configure WebSphere MQ, and your JMS runtime environment will have to link against the vendor specific implementation classes. This is similar to JDBC.

There is no such thing as the standard J2EE JMS implementation. There are many implementations that meet the J2EE JMS standard.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
toadie
PostPosted: Thu Jun 16, 2005 9:28 am    Post subject: Reply with quote

Newbie

Joined: 14 Jun 2005
Posts: 5

Jeff
What i meant was that I'd rather not have a dependency on com.ibm.mq.*
As far as the implementation of the JMS Server, yes, they are all proprietary internally, however, most would comply to JMS 1.0 or 1.1 specifications at the external API level.

jefflowrey wrote:
All JMS implementations are "propriatary", unless they are open source. And even then, in your sense, they are still "proprietary".

That does not mean your code has to be tied to a particular implementation. That's the whole point of "standards" and using interfaces versus implementations.

If you write your code to be only and fully compliant to the JMS specification, then whatever JMS provider you use, the code should function. And you should be able to implement a WebSphere MQ JMS provider without making your code specific to that provider..


What you are saying here is that it is possible to write a JMS Client that relies purely on javax.jms.* package and could communicate with MQSeries?

jefflowrey wrote:
You will, however, have to install and configure WebSphere MQ, and your JMS runtime environment will have to link against the vendor specific implementation classes. This is similar to JDBC. ..


If i am only interested in writing a JMS client to submit & pull msgs out of MQSeries, i wouldn't think I'd need WebSphere MQ do i?

jefflowrey wrote:
There is no such thing as the standard J2EE JMS implementation. There are many implementations that meet the J2EE JMS standard.
Back to top
View user's profile Send private message
toadie
PostPosted: Thu Jun 16, 2005 9:42 am    Post subject: Reply with quote

Newbie

Joined: 14 Jun 2005
Posts: 5

I think i've answered my own question

http://publibfp.boulder.ibm.com/epubs/html/csqzaw11/csqzaw1132.htm

Thanks to everyone who took the time to reply.
Back to top
View user's profile Send private message
bower5932
PostPosted: Thu Jun 16, 2005 9:54 am    Post subject: Reply with quote

Jedi Knight

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

Since your link went to some sample code, you can find more jms sample code at:

http://www.developer.ibm.com/isv/tech/sampmq.html
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 » IBM MQ Java / JMS » MQSeries newbie
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.