next up previous contents
Next: JAVA Mail User Interfaces Up: LEAP in JAVA Mohsen Previous: LEAP in Java Resource   Contents

JAVA-WhiteBerry Software Architecture and Components

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.

Figure 1: Components of JavaMail Transport Service Provider with EMSD
Components of WCE Mail Transport Service Provider with EMSD

As illustrated in Figure 1, upper and lower interfaces used by the EMSD user agent correspond to fully published JAVA APIs defined in JAVA development environment (SDK). It is also visible that the EMSD Mail Service Transport Provider is a peer to the SMTP/POP/IMAP Mail Service Transport Provider. The published APIs enable any third party to develop a Mail Service Transport Provider for JavaMail.

Major components of JAVA-WhiteBerry from top to bottom are:

each of these are described below.


next up previous contents
Next: JAVA Mail User Interfaces Up: LEAP in JAVA Mohsen Previous: LEAP in Java Resource   Contents