Source code from book Beginning Java EE 7