Code samples for the Pro JSF2 and HTML5 book