Skip to Content
Facelets
book

Facelets

by Robert Swarr
March 2007
Beginner to intermediate content levelBeginner to intermediate
101 pages
2h 41m
English
O'Reilly Media, Inc.
Content preview from Facelets

Chapter 9. The Good Eats! Web Site

9.1 What Is the Good Eats! Web Site?

Good Eats! is an imaginary food appreciation web site that we are using to demonstrate the techniques described in the previous chapters. GoodEats! is, first of all, a virtual community for food lovers. Its primary attraction is a database of recipes, which registered members and guests can search. It features a forum in which members can participate in discussions of food topics, and it has an aggregation of RSS feeds of food-related articles. Registered members of the web site can contribute to the recipe database and post messages in the forum.

This chapter reviews this site. First, it describes the business and technical requirements of the web site. Then, it discusses how the web site is constructed using Facelets for the user interface, Enterprise JavaBeans for the domain model, and MySQL for the database.

9.2 Requirements

The business plan of the Good Eats! web site includes the following of business and technical requirements.

9.2.1 Business requirements

The operator of the Good Eats! web site intends to generate income from online advertising. To make this site attractive to advertisers, Good Eats! must enroll a large number of registered members. Therefore, the web site includes the following features, which were designed to attract food lovers and to encourage them to register as site members:

Searchable Recipe Database

A large recipe database that can be searched in a several ways, such as by food categories ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java™ Performance

Java™ Performance

Charlie Hunt, Binu John
JavaServer Faces

JavaServer Faces

Hans Bergsten
Core JavaServer™ Faces

Core JavaServer™ Faces

David Geary, Cay S. Horstmann

Publisher Resources

ISBN: 9780596529246Publisher SupportErrata PageSupplemental Content