-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Question about the patterns
PostPosted: Sun Aug 08, 2004 10:19 pm 
Newbie

Joined: Sat Aug 07, 2004 8:03 pm
Posts: 2
Location: Porto Alegre - RS - Brazil
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.