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 » Write Publish/Subscribe in straight MQSeries 5.3 Java classe

Post new topic  Reply to topic
 Write Publish/Subscribe in straight MQSeries 5.3 Java classe « View previous topic :: View next topic » 
Author Message
tingwen
PostPosted: Fri Aug 19, 2005 10:18 am    Post subject: Write Publish/Subscribe in straight MQSeries 5.3 Java classe Reply with quote

Novice

Joined: 19 Aug 2005
Posts: 24

Can I write publish/subscribe model in straight MQSeries Java API, rather than JMS spec? I am talking MQSeries 5.3? thanks

wen
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 19, 2005 10:21 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can write Pub/Sub applications in any programming environment that can populate an MQRFH2 header.

So, yes, you can do this in the WebSphere MQ API for Java.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
tingwen
PostPosted: Fri Aug 19, 2005 10:25 am    Post subject: Reply with quote

Novice

Joined: 19 Aug 2005
Posts: 24

thanks for your confirmation so fast....

anywhere you know that I can get sample code by any chance?

wen
Back to top
View user's profile Send private message
webspherical
PostPosted: Fri Aug 19, 2005 10:31 am    Post subject: Reply with quote

Acolyte

Joined: 15 Aug 2005
Posts: 50

there is a great example right on this site:

http://www.mqseries.net/phpBB2/viewtopic.php?t=21151&highlight=
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Aug 19, 2005 11:15 am    Post subject: Reply with quote

Grand High Poobah

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

webspherical wrote:
there is a great example right on this site:

http://www.mqseries.net/phpBB2/viewtopic.php?t=21151&highlight=

Why go to all this trouble writing an RFH2 header in java base when it is so easy using the JMS interface ?
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Fri Aug 19, 2005 11:18 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

fjb_saper wrote:
Why go to all this trouble writing an RFH2 header in java base when it is so easy using the JMS interface ?


Because JMS requires a lot more classes added to the application, and can be slower...

Because JMS hides things that you may possibly need to see or adjust...

Because you are not otherwise using J2EE at all, so why include a piece of it?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
tingwen
PostPosted: Fri Aug 19, 2005 11:23 am    Post subject: Reply with quote

Novice

Joined: 19 Aug 2005
Posts: 24

performance is our big concern,

wen
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Aug 19, 2005 12:22 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

tingwen wrote:
performance is our big concern,


As I understand it, the largest performance hit from JMS comes with MDBs. MDBs are around 30% slower than a straight listener - because the app server is so heavily involved.

But the performance report support packs should have much better and more reliable information.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Write Publish/Subscribe in straight MQSeries 5.3 Java classe
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.