This Pet Catalog application explains a web application that uses JSF 2.0,
Java EE 6, GlassFish and MySQL.
The Java EE 6 Pet Catalog tutorial can be found at:
http://weblogs.java.net/blog/caroljmcdonald/archive/2009/08/java_ee_6_pet_c.html
Demonstrates also the use of Java Persistence API.