you can use seam examples,seam has some examples which are using JSF and Hibernate with Seam framework.they are bundled with ant builds for JBoss and Tomcat.you can start with that project and modify the codes.