Exercises

In today's example, modify the index.html file to add the following fields to the form: From, CC, BCC, and Subject. Also add Read, Forward, Reply, and Delete buttons. Modify the EmailerServelet and Emailer EJB accordingly. The read function will retrieve the next unread message, which can then be forwarded to a recipient, replied to the sender, or deleted using the appropriate button.

Get Sams Teach Yourself EJB in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.