Adapt the Wineapp app from Beginning EJB3 to JSF