Section 8.8. JavaMail Checklist


8.8. JavaMail Checklist

Before we move on to test the JAW Motors application's new email functionality, let's recap what we've done to implement JavaMail:

  • Added Java Code:

    • Called the TextEmail JavaMail utility class from the CreditCheckProcessor MDB

    • Wrote a TextEmail utility class to encapsulate sending an email message with JavaMail

    • Factored out JNDI calls into the ServiceLocator

  • Upgraded deployment:

    • Added JavaMail-based JNDI reference settings to the EJB-based deployment descriptors (ejb-jar.xml and jboss.xml)

    • Automated JavaMail-based JNDI reference settings in the CreditCheckProcessor MDB with XDoclet

    • Configured JavaMail on JBoss with an MBean



JBoss at Work. A Practical Guide
JBoss at Work: A Practical Guide
ISBN: 0596007345
EAN: 2147483647
Year: 2004
Pages: 197

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net