O'Reilly logo

Java™ Network Programming and Distributed Computing by Michael Reilly, David Reilly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

13.5. Advanced Messaging with JavaMail

The examples up until now have been pretty straightforward. They only scratch the surface of JavaMail, however. Simple tasks are easy to perform in JavaMail, but more advanced functionality is available. Let's take a further look at what JavaMail has to offer.

13.5.1. JavaMail Event-Handling Model

The JavaMail API uses the JDK1.1 event-handling model, which readers may already be familiar with from using the Abstract Windowing Toolkit (AWT) and Swing. For those without prior experience with this model, a brief over view is offered. Readers acquainted with this material may choose to skip to Section 13.5.1.2.

13.5.1.1. Overview

AWT event handling in JDK1.02 used a clumsy callback mechanism that required developers ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required