Posted: Fri Aug 26, 2005 12:04 am Post subject: MQ Invoke a java application or servlet
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.
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?
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.
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