This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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: 16095
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
GeeCON Prague 2014
 
subject: JMS