Throughout this book, we will be building example JSF pages to test the possibilities of the various Apache MyFaces Core libraries. To eliminate the need to come up with a new example every time, we are going to work on a single case in the rest of the book. This section introduces the case.
We are building a new administrative system for our client, Monsters, Inc. (You might know this company from the movie with the same name.) Monsters, Inc. is the power company of Monstropolis. The company generates power by scaring children and collecting their screams. The employees of Monsters, Inc. get to the children by means of teleportation doors that are set up on the work floor. The company wants a better knowledge of the performance of its employees.
Therefore, every scarer should log his activities in the new system. Every time a child is scared, the scarer should log:
At which time the scaring started
How much time it took to scare the child and collect the scream...