Home arrow Java arrow Java Mail API: Transforming Mail into Data Carriers
JAVA

Java Mail API: Transforming Mail into Data Carriers


Java Mail is eminently adaptable. Indeed, looking at its API, we find that it helps us provide an alternative solution to an old problem: how to transfer large amounts of data between two enterprise applications. In this article, you will discover how to adapt Java Mail to play the role of a data carrier.

Author Info:
By: A.P.Rajshekhar
Rating: 5 stars5 stars5 stars5 stars5 stars / 6
November 22, 2005
TABLE OF CONTENTS:
  1. · Java Mail API: Transforming Mail into Data Carriers
  2. · Java Mail Core Classes Continued
  3. · Mails As Data Carriers: A Practical Approach
  4. · Sending
  5. · Receiving

print this article
SEARCH DEVARTICLES

Java Mail API: Transforming Mail into Data Carriers
(Page 1 of 5 )

In the last article, I discussed the basics of Java Mail API. I also provided a fleeting glance into the world of Java Mail where a little unconventional approach, commonly known as an "oblique approach" can work wonders by providing a transit path where none existed before.

What I am indicating through this analogy is the adaptability of Java Mail when the context changes. When working for a mailing environment, it is in its basic form. But when the context is data transfer between two enterprise applications, it reveals its second form -- that of a data carrier.

In this tutorial, I will discuss how to utilize the Java Mail APIs in the right way so that the application can be primed to reveal its second form. In other words I will be discussing the transport and message APIs of the core API. The first section will complete the detailing of the remaining classes of the core of Java Mail. The next section, and the ones after it, will then put the idea of using email as a data carrier using Java Mail into action by extending the functionality of the MailClient class developed in the first part. Thatís the agenda for this discussion.


blog comments powered by Disqus
JAVA ARTICLES

- Java Too Insecure, Says Microsoft Researcher
- Google Beats Oracle in Java Ruling
- Deploying Multiple Java Applets as One
- Deploying Java Applets
- Understanding Deployment Frameworks
- Database Programming in Java Using JDBC
- Extension Interfaces and SAX
- Entities, Handlers and SAX
- Advanced SAX
- Conversions and Java Print Streams
- Formatters and Java Print Streams
- Java Print Streams
- Wildcards, Arrays, and Generics in Java
- Wildcards and Generic Methods in Java
- Finishing the Project: Java Web Development ...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials