aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Difference between JMS & Java Mail API 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 "Difference between JMS & Java Mail API" Watch "Difference between JMS & Java Mail API" New topic
Author

Difference between JMS & Java Mail API

ujjwal soni
Ranch Hand

Joined: Mar 28, 2007
Posts: 403
Hi,

I want to know the concreate difference between JMS & Java Mail API.

Regards,

Ujjwal B Soni


Cheers!!!
Ujjwal B Soni <baroda, gujarat, india> <+919909981973>
"Helping hands are better than praying lips......"
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Have you read about them on Sun's website? (JMS & JavaMail)


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Lars Zinkoff
Greenhorn

Joined: Jan 14, 2008
Posts: 2
Q: Is the Java Message Service another mail API?
A: No. The term messaging is broadly defined in computing. It is used for describing various operating system concepts; it is used to describe email and fax systems; and with the JMS API, it is used to describe asynchronous communication between enterprise applications.

JMS messages are asynchronous requests, reports, or events that are consumed by enterprise applications, not humans. They contain vital information needed to coordinate these systems. They contain precisely formatted data that describe specific business actions. Through the exchange of these messages, each application tracks the progress of the enterprise.
---------------------
In other words, JMS is for sending messages between application components, and the Java Mail API is for sending an actual email.
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3355

Howdy Lars Zinkoff,

Welcome to JavaRanch

Yes, thats a good definition and differentiation!


Everything has got its own deadline including one's EGO!
[CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
 
wood burning stoves
 
subject: Difference between JMS & Java Mail API