First JSF application, write a "guessnumber"

Update the first JSF example (Hello Boss) such that a user can play to the famous guess the number name. The server thinks to a number, the user guesses, the server answers higher or lower.