Hi people!
Studying patterns like:
SessionController (
http://forum.hibernate.org/viewtopic.php?t=928328&highlight=sessioncontroller)
Persistance (
http://www.hibernate.org/43.html)
HibernateUtil (
http://forum.hibernate.org/viewtopic.php?t=933252&highlight=hibernateutil)
I cant conclude what is the best solution.
Persistance use
JNDI while
SessionController use
getAttribute of HttpSession.
HibernateUtil isn't a
Filter.
In a webApp with Tomcat I need to use solutions like SessionController or Persistance that implements Filter or I can use HibernateUtil without problems?
Summarizing, when should I use each pattern?
Can you help me with my questions?
PS.: congratulations by very good forum and support!
Thanks