O'Reilly logo

Oracle Application Server 10g: J2EE Deployment and Administration by Erin Mulder, Jan Machacek, Michael Wessler, Rob Harrop

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

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 ...

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