Chapter 4. The Application

In this chapter, we are going to start developing our rich web application!

We will explain all of the steps to build an empty project from scratch (using seam-gen), which supports all the technologies that we need in order to develop a "real" JSF application with Ajax support.

The aim of this book is not to be just a description of a technology, but we also want the reader to learn about the RichFaces framework while developing a real application, so that can be ready to develop an application of their own.

The application we have chosen is an Advanced Contact Manager with a lot of "rich" features that we will see in the next section.

After creating the project, we will start looking at and understanding the basic pages generated and the login box while doing some editing on them.

What we are going to develop?

The example we developed in Chapter 3, First Steps was basic. Now, in fact, we are going to develop a fully-featured advanced application for contact management.

During the development of every feature of the web application, we are going to use the RichFaces Ajax framework as much as possible. We will also use the rich components that it makes available to us.

The next image shows a simple mockup of the application we want to develop:

What we are going to develop?

Features

Here is the description of the main features of the Advanced Contact Manager application.

Groups manager

Every contact can be put into one or more groups for better organization of your data. The contact group list appears inside a colored list with a tool tip showing the group description.

File uploads and notes

The user will be able to associate files (for example CV) and "rich text" notes to contacts. The file upload will allow the user to select more than one file at a time and add a description for each file using a wizard modal panel.

Simple search

A simple search will always be visible to the user. He/she will be able to search contacts, filtering them by name and surname.

User skin

Every user of the web application can choose his own skin and use it during the session.

Multilanguage

Our application is a real application. Therefore, even if it is not a RichFaces feature (but a JSF/Seam feature), it is going to support different languages.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.186.83