Yes I suppose this is not possible with, let's say Spring, because Spring only has Singleton ( or not). The threaded model ensure that the client has it own session ( from its point of view,  a singleton) but that the session is not a Singleton.

Did I get it right ?

2005/6/29, James Carman <[EMAIL PROTECTED]>:

In my article, I use the threaded lifecycle model to make sure that there is only one Hibernate session open per client request. 

 


From: belaran [mailto: belaran@gmail.com]
Sent: Wednesday, June 29, 2005 7:25 AM
To: [email protected]
Subject: HiveMind Lifecycle against other lightweight container

 

Hi everyone !

I strongly believe that HiveMind best features, over other lightweight container, is the diffrent lifecylce model it has. I wonder if you had experience with situation you couldn't deal with, without the pooled or threaded model... Likely if you have experience about a use case where thoses features really help, I'll be very interested to read about it too...

Thanks,
--
Belaran,
"What'do'ya mean ?"
"As a moto, I just avoid meaning anything..."




--
Belaran,
"What'do'ya mean ?"
"As a moto, I just avoid meaning anything..."

Reply via email to