What is the diffrence between JAVA Mail and JMS Queue

Showing Answers 1 - 5 of 5 Answers

Sergey Pomytkin

  • Apr 21st, 2006
 

Java Mail ? API siting on top of  e-mail protocols like SMTP, POP, IMAP ? essentially same stuff e-mail clients like MS outlook use  .. hence make sense if at least on one side of conversation we have human.

JMS Queue ? is asynchronous point-to-point communication between systems

  Was this answer useful?  Yes

Cheng

  • Oct 18th, 2006
 

Java Mail is between system and people, between people and people, between system and file, between people and file... Where as JMS (Java Message Services) is between Java software components...

  Was this answer useful?  Yes

JavaMail API provides a platform independent and protocol independent framework to build Java technology based email client applications. The JavaMail API provides facilities for reading and sending email. The JavaMail API is implemented as a Java optional package that can be used on JDK/JRE 1.4 or higher with any operating system. The JavaMail API is also a required part of the Java Platform, Enterprise Edition (Java EE). JavaMail is completely written in Java and will run on any operating system that supports the required version of the JDK.

Java Message Services, JMS, is Sun's standard API for message queuing systems. Message queuing systems form the front-line interface between businesses (B2B) and for Enterprise Application Integration (EAI). As such, message queuing systems are often called "middleware" because they operate in the middle -- between other systems and between enterprises. JMS offers a number of advantages over older Message queuing systems. First, JMS has two message protocols: point to point and pub/sub instead of only one, as many earlier middleware systems did. Additionally, JMS also doesn't care whether you use a wire or wireless protocol, and provide different levels of message delivery assurance as well.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions