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 » Triggering a java bean under Websphere Application Server

Post new topic  Reply to topic
 Triggering a java bean under Websphere Application Server « View previous topic :: View next topic » 
Author Message
duffMan
PostPosted: Tue Oct 28, 2003 9:44 am    Post subject: Triggering a java bean under Websphere Application Server Reply with quote

Voyager

Joined: 03 Jun 2002
Posts: 75

I admit to knowing very little about Java and even less about WAS.

However, the Java programmers are asking if we can trigger a message bean under the control of WAS.

I am assuming triggering a class by defining a process with an APPLICATION TYPE of UNIX and application name of myProgram.class would not suffice, because this would not run under WAS control???

I am assuming that a trigger monitor would have to be written to run under WAS control that would invoke the appropriate bean?

Does anyone have any experience with this?

Alternatively we could not use mq triggering and just have a bean run at startup and wait forever on the queue that it would do the "get" from.
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Oct 28, 2003 9:51 am    Post subject: Reply with quote

Jedi Knight

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

Yes:
You can have the so called Message Driven Bean running under the control of WAS. You don't have to set triggering or anything of that sort. If you configure the MDB to listen to a specific MQ Queue, then whenever a message is PUT on the queue, this MDB will be called.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bower5932
PostPosted: Tue Oct 28, 2003 10:20 am    Post subject: Reply with quote

Jedi Knight

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

There are some good articles on the IBM sites:

http://www7b.software.ibm.com/wsdd/library/techarticles/0307_wilkinson/wilkinson1.html is a 3 part article. The 3rd part is on MDBs.

http://www7b.software.ibm.com/wsdd/techjournal/0211_barcia/barcia.html using WSAD.
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 » Triggering a java bean under Websphere Application Server
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.