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 Invoke a java application or servlet

Post new topic  Reply to topic
 MQ Invoke a java application or servlet « View previous topic :: View next topic » 
Author Message
zen
PostPosted: Fri Aug 26, 2005 12:04 am    Post subject: MQ Invoke a java application or servlet Reply with quote

Apprentice

Joined: 11 May 2005
Posts: 32
Location: Singapore

Just want to ask any ideas on how MQ can invoke a java class or application either as a servlet or an ordinary class. I'm a Java programmer who is very new to MQ programming. Also, on the Java programmer, how will I await for trigger to be given by the MQ? The java program is supposed to run on a WAS v5.0 and the MQ is residing in the same Linux phsical box as the WAS.

Any ideas will be greatly appreciated. Pls don't hesitate to ask if you need further clarifications or info.

Thanks a lot.
Back to top
View user's profile Send private message
wschutz
PostPosted: Fri Aug 26, 2005 3:09 am    Post subject: Reply with quote

Jedi Knight

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

i think you want to search here and google for "message driven beans". That would give you a good start.
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
zen
PostPosted: Sun Aug 28, 2005 6:54 pm    Post subject: Reply with quote

Apprentice

Joined: 11 May 2005
Posts: 32
Location: Singapore

Hi, thanks for the reply. More or less I already have an idea on how to create a java program that will be invoked by an MQ. The only side that's vague to me as of this moment is on how will MQ invoke the java program that i'll be creating? Any suggestions?

May thanks.
Back to top
View user's profile Send private message
JohnRodey
PostPosted: Mon Aug 29, 2005 6:13 am    Post subject: Reply with quote

Centurion

Joined: 13 Apr 2005
Posts: 103

If I understand correctly, I think wschutz did answer that question. When an MDB is configured your app server will take care of kicking it off. It will monitor that queue and when a messages is placed on it, your MDB will be executed. Look into JMS and MDBs.

If you do not want your app server to be involved then maybe look into MQ triggering.

Hope that's of some help.
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 » MQ Invoke a java application or servlet
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.