Structure of Javamail API

Explain the structure of JavaMail API

The JavaMail API has classes such as Message, Store and Transport. The API can be used to subclass for providing new protocols and some additional functionality when needed. The concrete subclasses of this API are MimeMessage and MimeBodyPart which are implemented widely by the internet mail protocols. The supporting protocols for JavaMail API are IMAP4, POP3 and SMTP.

The JavaMail architectural components include the following:

Abstract Layer: This layer declares the classes, interfaces and abstract methods that are intended for supporting the mail functions which all mailing systems supports.

Intranet Implementation Layer: The implementation of MIME internet standards and part of the abstract layer comprises this layer.

Java Bean Activation Framework: The encapsulation of message data and handling the data interacting commands is used by the Javabean Activation Framework.

Explain the structure of JavaMail API

JavaMail API Packages

1. javax.mail
The JavaMailTM API provides classes that model a mail system.

2. javax.mail.event
Listeners and events for the JavaMail API.

3. javax.mail.internet
Classes specific to Internet mail systems.

Message search terms for the JavaMail API.

5. javax.mail.util
Utility classes.
What is Tomcat?
What is Tomcat? - Tomcat is a Java Servlet container and web server from Jakartha project of Apache software foundation.....
What is Jasper?
What is Jasper? - Jasper is a program to read the .class files in binary format. This program can generate ASCII files....
Explain the concepts of Tomcat Servlet Container
Tomcat Servlet Container - Tomcat Servlet Container is a servlet container. The servlets runs in servlet container......
Post your comment