CarStore is a moderately complex demonstration of JavaServer Faces technology. Please consult the tutorial for more detailed information on the concepts required to build applications with JavaServer Faces technology. Below we use whiteboard diagrams to illustrate the ease with which a web application can be designed, and how that design can be easily cast into a Faces application.
Here's a quick diagram of page flow through the application.
Each box corresponds to a JSP page. The arrows correspond to the supported flow from page to page, either with buttons in the page, or with the browser navigation buttons.
We then overlay the beans required to back the JSP pages.
See the JavaDocs for each bean to see what it does.
Finally, we add the back end data. In this simple application, the
data is read from java.util.ResourceBundle
instances, but
it could just as well come from a database.