• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between JMS & Java Mail API

 
ujjwal soni
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

Regards,

Ujjwal B Soni
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you read about them on Sun's website? (JMS & JavaMail)
 
Lars Zinkoff
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy Lars Zinkoff,

Welcome to JavaRanch

Yes, thats a good definition and differentiation!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic