What is the difference between JavaMail and JMS?

What is the difference between JavaMail and JMS?

    Requires Free Membership to View

JMS is a standard that lets Java applications access MOM (message-oriented middleware) systems such as IBM MQSeries, SonicMQ, Softwired iBus, TIBCO, etc.

JavaMail is a standard that lets Java applications access e-mail servers via POP (Post Office Protocol) and IMAP (Internet Mail Access Protocol).

In summary: JMS is for high-performance, reliable application-to-application messaging. JavaMail is for writing Java applications that send and receive e-mail.


This was first published in May 2002

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.