Chapter 8. Using JavaMail and Java APIs for XML

Many of the J2EE services provided by OC4J don't require extensive configuration, and can be used in the same way across all J2EE servers. Still, there are a few OC4J-specific details to remember, and you'll learn about them in this chapter. We'll discuss the JavaMail and the XML APIs, and answer questions such as these:

  • How do I create and use a JavaMail session?

  • Which JAX implementation will be loaded in my environment?

As part of the discussions you'll build a Servlet-based application that leverages the Java Naming and Directory Interface (JNDI) for storing and managing JavaMail session implementations (see Chapter 5 for details on how to configure JNDI).

JavaMail

OC4J supports JavaMail 1.2, an API ...

Get Oracle Application Server 10g: J2EE Deployment and Administration now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.