I am planning on using hibernate (1st time) in tomcat webapp. It would appear
that it is common to use hibernate util class to load the session factory but I
have yet to see this done using Servlet ContextListener. I have also only seen
very bad example where someone used hibernate directly in their model instead
of using it as part of a DAO façade. The following example is half finished
from netbeans too:http://netbeans.org/kb/docs/web/hibernate-webapp.html Can
someon point met to full MVC example with hibernate. I am only interested in
seeing the bsckend examples really and would any of you recommend using
hibernate directly in a model business class?