Java EMSD implmentation is integrated seamlessly into Java environment using the JavaMail API standard.
See http://java.sun.com/products/javamail for details.
JavaMail architecture supports the concept of a "Mail Transport Service Provider" which works as an abstraction layer and handles sending/receiving of messages.
JavaMail API can either be used directly or via the factory interfaces of the Java Mail API. The mail user interface can either use the Java EMSD Store and Transport classes directly, or access them via JavaMail API.
In JavaMail API, the Java EMSD is modeled as a Provider along side IMAP, POP, SMTP providers. Java EMSD Provider integrates seamlessly with the Session factory. Unlike the IMAP, POP, SMTP protocols, the EMSD implements both the Store and Transport classes. The configuration file for Java EMSD services in Java Mail API is available in the distribution package.
Our goal in this article is to accommodate incorporation of EMSD as a Mail Transport Service provider in JavaMail model both through defined APIs and also as custom integrated software.
Incorporation of EMSD into the JavaMail model can be rapidly accomplished as an add-on or replacement for SMTP/POP/IMAP. Figure 1 shows the components involved as well as the layering of services in this model.
Major components of JAVA-WhiteBerry from top to bottom are:
each of these are described below.