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 JMSListener code simulating MDB

Post new topic  Reply to topic
 need JMSListener code simulating MDB « View previous topic :: View next topic » 
Author Message
mike7
PostPosted: Sat Feb 15, 2003 12:59 pm    Post subject: need JMSListener code simulating MDB Reply with quote

Novice

Joined: 15 Feb 2003
Posts: 14

Hello,

I am in JEE 1.2 so I can not yet use the Message Driven Bean (JEE1.3).

I need some code to simulate it (with TRANSACTION capabilities and if possible POOLING)

I am very interested by such an example if someone has already developed one.

THANKS FOR YOUR HELP.

gaston2003a@yahoo.com
Back to top
View user's profile Send private message
JohnG
PostPosted: Thu Feb 20, 2003 5:50 am    Post subject: Simulate MDB Reply with quote

Newbie

Joined: 21 Jan 2003
Posts: 7

Try this link

http://www.websphere-world.com/modules.php?name=News&file=article&sid=778

it will take you to IBM developerworks.
Back to top
View user's profile Send private message
mike7
PostPosted: Mon Feb 24, 2003 12:26 pm    Post subject: Reply with quote

Novice

Joined: 15 Feb 2003
Posts: 14

Thanks John for your answer.

This article is interesting but what I am looking for is a a JMSlistener code with transaction capability :
I mean that my listener will do an "mqseries get" and a "database upgrade" in the same transaction in Websphere application server and ,unfortunaly, this case is treated in this article...

(Indeed, it is not possible to use an EJB as in was4, there is no EJB2.0)


Any idea ?

Back to top
View user's profile Send private message
JohnG
PostPosted: Tue Feb 25, 2003 3:57 am    Post subject: Reply with quote

Newbie

Joined: 21 Jan 2003
Posts: 7

Mike

This is for WAS 4 i.e. EJB 1.1. Basically he is trying to simulate the functionality of an MDB. If you look at the 2nd article it talks about wrapping calls up in a transaction and has some sample code.

Regards

John
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 » need JMSListener code simulating MDB
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.