What is JMS?

J

Joshua

What exactly is th eincentive to use JMS? That is, I'm not quite sure
I understand the scope of the API -- what's it do that, say, email
doesnt? Where is it more appropriate than anything else? What is
'anything else'?

Sorry to be so vague, but I'm looking to understand what exactly I
don't understand...

Thanks in advance,

Joshua
 
M

Marek Lange

Joshua said:
What exactly is th eincentive to use JMS? That is, I'm not quite sure
I understand the scope of the API -- what's it do that, say, email
doesnt? Where is it more appropriate than anything else? What is
'anything else'?

Sorry to be so vague, but I'm looking to understand what exactly I
don't understand...

JMS is used in J2EE environments to let components communicate
asynchronously with each other. This is achieved by putting a JMS
provider between the sender and the receiver of a message. Due to the
provider, both sender and receiver do not need to know of each other and
there is no dependency between them. The sender can fire his message to
the provider and continue doing other work. The receiver can then fetch
the message from the provider (by reading from a queue or a topic) and
execute business logic afterwards.

Hope that helps for the moment,

-marek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top