Chapter 46
The Resource Adapter Example
The mailconnector example shows how you can use a resource adapter, a message-driven bean (MDB), and JavaServer Faces technology to create an application that can send email messages and browse for messages. This example uses a sample implementation of the JavaMail API called mock-javamail. The resource adapter is deployed separately, while the MDB and the web application are packaged in an EAR file.
The following topics are addressed here: