Introduction: Mail, URLs, and other J2EE resources

Explore the key concepts pertaining to applications that use Java 2 Platform Enterprise Edition (J2EE) resources. The resources discussed here include JavaMail support for applications to send Internet mail; URLs, for describing logical locations; resource environment entries, for mapping logical names to physical names. Java DataBase Connectivity (JDBC) resources and Java Message Service (JMS) resources are discussed elsewhere.

JavaMail API

The JavaMail APIs provide a platform and protocol-independent framework for building Java-based mail client applications.

Mail providers and mail sessions

A JavaMail service provider is a driver that supports JavaMail interaction with mail servers using a particular mail protocol. WebSphere Application Server includes service providers, also known as protocol providers, for mail protocols including Simple Mail Transfer Protocol (SMTP), Internet Message Access Protocol (IMAP), and Post Office Protocol 3 (POP3).

JavaMail support for IPv6

WebSphere Application Server and its JavaMail component support Internet Protocol v6 (IPv6), meaning that both can run on a pure IPv4 network, a pure IPv6 network, or a mixed IPv4 and IPv6 network. On either the pure IPv6 network or the mixed network, the JavaMail component works with mail servers (such as the SMTP mail transfer agent, and the IMAP and POP3 mail stores) that are also IPv6 compatible. Additionally, a JavaMail component that is run on the mixed IPv4 and IPv6 network can communicate with mail servers using IPv4.

URLs

A Uniform Resource Locator (URL) is an identifier that points to an electronically accessible resource, such as a directory file on a machine in a network, or a document stored in a database.


Related information
mail, URLs, and other J2EE resources