File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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


Saskia Schreiber

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: 17410

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:
subject: JMS
It's not a secret anymore!