Home

OLL Mobile

FAQ

Using Java EE Environmental Variables

General Information

  • This tutorial shows you how to avoid hard-coding variable values within your application that may frequently need to be modified. In this tutorial you will modify an existing application to use environmental entries. The existing application uses the JavaMail API to send emails through a SMTP server. Currently all the information about the SMTP server is hard-coded within a Session bean. You will need to know the host name, port, connection type (SMTP, SMTPS, TLS), and authentication information for your SMTP server if you would like to enable the project to successfully send emails.

    You might also like Sending an Email using the JavaMail API.

    Release Date: 11-Jun-12

    Duration: 30 minutes

    Credited To: Matt Heimer

    No Flash Plugin Needed

Other Related Products

Visit the Full Site | About Oracle | Contact Us | Terms of Use