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 EJB and other Java EE Technologies and the fly likes JMS 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 » EJB and other Java EE Technologies
Bookmark "JMS" Watch "JMS" New topic
Author

JMS

Saskia Schreiber
Greenhorn

Joined: Jul 09, 2001
Posts: 12
Can someone tell me how I use JMS and why I should use JMS (for which problems?)?
I know that JMS is for asynchronous communication and that they're two different ways (P2P and Pub/Sub) but I don't know exactly why I need it.
Thanks a lot
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17149
    
  27

Use it when you need asynchronous communications .
Some practical uses would be like on a web server where you need to do a long-running task (something that would cause the user's browser to time out). Hand the request over to a background processor through JMS. You might also want to batch transactions or work requests. Things like that.


An IDE is no substitute for an Intelligent Developer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS
 
jQuery in Action, 3rd edition