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).
OC4J supports JavaMail 1.2, an API ...