Adding Email Capability to the WebAuction Application

The WebAuction application includes email notification. When a user submits a bid, he or she receives a confirmation by email that the bid was successfully entered.

Notifying users via email is not done synchronously in the WebAuction application. The JSP page and tag libraries do not call the JavaMail API as demonstrated in the previous example JSP page. That mail paradigm is not scalable, especially when a WebLogic Server application is servicing many thousands of simultaneous requests. It is easy for a mail server to become overloaded and negatively affect the application performance.

Get J2EE™ Applications and BEA™ WebLogic Server™ 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.