Day 20. Implementing JavaMail in EJB Applications

JavaMail is one of the common services of the J2EE architecture that is responsible for reading, composing, and sending e-mail messages from enterprise applications. JavaMail enables you to implement a Mail User Agent (MUA), similar to the familiar Microsoft Outlook, Pine, and Eudora. Today you'll explore the benefits and features that the JavaMail API offers, and how you can use them in a simple EJB: the Emailer EJB. First, you'll be exposed to the main concepts (classes and interfaces) of the JavaMail API. JavaMail basically provides a set of classes that model a mail system. The API provides a platform-and protocol-independent framework to build Java-technology-based mail and messaging applications. ...

Get Sams Teach Yourself EJB in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.