LEAP in JAVA Mohsen Banan public@mohsen.banan.1.byname.net Version 0.1 First Published: February 4, 2003 Last Updated: February 4, 2003 Copyright (c) 2001 Mohsen Banan Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. A Component of The LEAP Manifesto ================================= This article is one of a series of articles describing various aspects of the Mobile Messaging industry and the LEAP protocols. For the complete collection of articles see The LEAP Manifesto [7 ], available at http://www.LeapForum.org/LEAP/Manifesto/roadMap/index.html. The LEAP Manifesto is also available at the Free Proto- cols Foundation website at http://www.FreeProtocols.org/LEAP/Manifesto/roadMap/index.html. Contents ======== 1 Introduction 2 WhiteBerry in JAVA Software Components 3 JAVA ESRO 4 JAVA EMSD 5 JAVA Mail API 6 JAVA Mail User Agents 7 Invitation to Participate List of Figures =============== 1 Example of Separate Mail Transfer Service for Palm OS 1 Introduction ============== This is one of a series of articles that describes the implementation and integration issues involved in incorporating the LEAP protocols into particular hand-held environments. For cell phones in particular, the JAVA implementation of LEAP is the primary approach and the Mobile Messaging application is our first focus. Like PDAs [2], [6], [5], the starting point for incorporation of LEAP in cell phones consists of the Mobile Messaging application, and is based on the Efficient Mail Submission and Delivery (EMSD) protocol [1]. EMSD is the e-mail component of the LEAP family of protocols [3]. A complete description of how EMSD provides everything necessary to enable end-users to benefit from true end-to-end open mobile messaging based on patentfree protocols and open source and free software is provided in the article Operation Whiteberry [4 ]. The present article is part of the more general Operation WhiteBerry model. Before reading this article, the reader is strongly encouraged to read Operation Whiteberry so that he/she has a clear understanding of the general implementation framework. LEAP on PDAs ------------ It is our goal to make LEAP widespread on all PDAs. However, the incorporation of LEAP into each platform follows a particular approach and strategy. Each of the articles in this series outlines our strategy for a specific platform. For Windows CE, see `"EMSD on WinCE",[2 ] The existing open-source implementation is available at http://www.mailmeanywhere.org. For PalmOs, see "LEAP on Palm",[6 ] For Linux PDAs see the article LEAP on Linux PDAs [5 ] for more details. 2 WhiteBerry in JAVA Software Components ======================================== Major components WhiteBerry in JAVA are: - JAVA Mail User Agents. - JAVA Mail Interface - JAVA EMSD. - JAVA ESRO. - JAVA UDP Interface each of these are described below. 3 JAVA ESRO =========== More detail information: MailMeAnywhere 4 JAVA EMSD =========== NOTYET: to be developed and pointed to by Daryoush. 5 JAVA Mail API =============== NOTYET: Daryoush to supply needed pointers. 6 JAVA Mail User Agents ======================= Our goal in this article is to accommodate incorporation of EMSD as a Mail Transport Service provider in JAVA both through defined APIs and also as custom integrated software. The following JAVA mail user agents have been identified. NOTYET: Daryoush to provide pointers. Incorporation of EMSD into the API based 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. 7 Invitation to Participate =========================== As described in Operation WhiteBerry, the incorporation of EMSD in JAVA presents enormous benefits. We invite the developers of JAVA mail application packages to incorporate EMSD into their software. EMSD protocol engines ready for the JAVA are readily available, and can be easily integrated with your software. Com- plete implementations of EMSD in open-source form are available at http://www.mailmeanywhere.org. Figure 1: Example of Separate Mail Transfer Service for Palm OS References ========== [1] M. Banan. Neda's Efficient Mail Submission and Delivery (EMSD) Protocol Specification Ver- sion 1.3. Request for Comments (Informational) 2524, Neda Communications, Inc., February 1999. Online document is available at ftp://ftp.isi.edu/in- notes/rfc2524.txt. [2] Mohsen Banan. EMSD on Windows CE. A component of LEAP Manifesto, LEAP Forum, March 1997. Online document is available at http://www.LEAPForum.org/leap. [3] Mohsen Banan. EMSD: The LEAP E-mail Compo- nent. A component of LEAP Manifesto, LEAP Fo- rum, January 2000. Online document is available at http://www.LEAPForum.org/leap. [4] Mohsen Banan. Operation WhiteBerry. A component of LEAP Manifesto, LEAP Forum, January 2000. Online document is available at http://www.LEAPForum.org/operationWhiteberry/index.html. [5] Mohsen Banan. LEAP on Linux PDAs. A component of LEAP Manifesto, LEAP Forum, September 2001. Online document is available at http://www.LEAPForum.org/draft-leapManifesto. [6] Mohsen Banan. LEAP on Palm OS. A compo- nent of LEAP Manifesto, LEAP Forum, Septem- ber 2001. Online document is available at http://www.LEAPForum.org/leap. [7] Mohsen Banan. Lightweight & Efficient Appli- cation Protocol (LEAP) Manifesto. Technical Report 108-101-01, LEAP Forum, Bellevue, WA, January 2000. Online document is available at http://www.leapforum.org/LEAP/Manifesto/completeManifesto.