Meaningless Drivel is fun!*
The moose likes Websphere and the fly likes tutorial needed - Servlet that will put a message to Websphere MQ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "tutorial needed - Servlet that will put a message to Websphere MQ" Watch "tutorial needed - Servlet that will put a message to Websphere MQ" New topic
Author

tutorial needed - Servlet that will put a message to Websphere MQ

Adam Muller
Greenhorn

Joined: Jun 27, 2011
Posts: 3
Hello everyone, I have been looking for quite a long time for any tutorial that will help me write a simple servlet (will be running on WAS 7.0.0.17), that will put a message to Websphere MQ Server. That's it -nothing more.

I can connect to Websphere MQ from a standalone application (thanks to the "Websphere MQ for Java" bible) but there is nothing about doing so in servlet environment. I am quite familiar with JNDI (use this to get my JDBC connections), I can work with Websphere MQ from standalone Java application I am just desperately looking for any tutorial that will help me combine this two things together.

The only tutorial I found seems to only apply to Community Edititon (http://www.ibm.com/developerworks/websphere/library/techarticles/0804_pathadan/0804_pathadan.html)

Any help would be appreciated.
Ernesto Chicas
Greenhorn

Joined: Jan 13, 2010
Posts: 18

I think that you need is jms, this link does not contain a tutorial but have examples that you may find useful:

http://www.capitalware.biz/pc_win_code_java.html#jmscode

nitss bhavsar
Ranch Hand

Joined: Jan 09, 2012
Posts: 55
Hello Adam ,You got any solution for your query?If you got one then please do post here
thanks in advance,
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: tutorial needed - Servlet that will put a message to Websphere MQ