Chapter 8. Communicating with users and customers

 

This chapter covers

  • Creating customer feedback forms with email response
  • Scheduling asynchronous background email tasks
  • Enabling secure mailing list subscriptions
  • Publishing RSS news feeds

The success of a website is often closely tied to your communication with users and customers. You need to understand their needs, desires, and concerns to provide the level of service required to acquire and retain them. By the same token, you need a way to communicate news and announcements, new products and services, marketing and PR information, operational issues, and so forth to people who need the information. It’s clear that good communication is crucial to the success of many websites and businesses.

The ability to communicate depends of course on the existence of an appropriate technical infrastructure. Usually you want to have multiple channels available because users vary widely in how they prefer to contact you and to be contacted.

In this chapter, we’ll look at how to use Spring to support some common communications requirements, including Contact Us forms, mailing lists, and news feeds.

8.1. Create a web-based Contact Us form

Prerequisites

None

Key technologies

Spring Web MVC, JSR-303 Bean Validation, Hibernate, database

Background

Most websites let users contact the organization behind the website. Users may need to ask questions, report issues, or leave general feedback.

8.2. Autogenerate an email response and email notification

8.3. Speeding up autogenerated emails

8.4. Allowing users to subscribe to a mailing list

8.5. Publishing a news feed

8.6. Summary

sitemap