-->
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: Difference and why among different patterns
PostPosted: Tue Jun 27, 2006 11:30 pm 
Newbie

Joined: Wed May 31, 2006 2:16 pm
Posts: 5
Location: Cleveland, OH
I have a generic question regarding session management. According to the following posts,

http://sourceforge.net/forum/message.php?msg_id=2814381

session-per-application-transaction is the best and session-per-request is recommended.

Can some experts give an explanation and comparision on the following 8 different patterns -- why one is good and the other one is bad? Especially, why session-per-user-session is bad? What are the problems it will generate?

1. session-per-user-session
2. session-per-application
3. session-per-operation
4. session-per-request
5. session-per-transaction
6. session-per-request-with-multiple-transactions
7. session-per-request-with-detached-objects
8. session-per-application-transaction

Thanks a lot in advance!

Zhan


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.