This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes JMS without application server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JMS without application server" Watch "JMS without application server" New topic
Author

JMS without application server

Monoranjan Gorai
Greenhorn

Joined: Jul 25, 2005
Posts: 19
Can JMS be used without application server. If possible, please give me one example.

Thanks & Regards
Monoranjan
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15000
    
  27

Sure. I did this a few years ago; we needed to put messages on an IBM MQSeries message queue. We just downloaded IBM's JMS library for MQSeries from IBM's website, put the JAR file in the classpath and so we could use JMS to put messages on the queue.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Monoranjan Gorai
Greenhorn

Joined: Jul 25, 2005
Posts: 19
How to define my class methods which will be triggered, while a message reaches the Messaging Queue.

Please give me one sample example, so that I can run & see how it works.
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
An introduction to JMS can be found in the J2EE FAQ.
Monoranjan Gorai
Greenhorn

Joined: Jul 25, 2005
Posts: 19
Thanks..
I got the answer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS without application server
 
It's not a secret anymore!