Re: Hibernate and Struts Usage Pattern question/survey

2005-03-03 Thread N G
On Tue, 1 Mar 2005 17:48:40 -0500, Joe Hertz [EMAIL PROTECTED] wrote: That is, usually you want the request to begin a transaction early and either commit or rollback at the end. Hmm... I was under the impression that you **always** want to begin your transaction as late as possible, not early.

Re: Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Brandon Mercer
Joe Hertz wrote: Curious as to which concept Struts/Hibernate implementers like more for implementation: #1- Ted Husted's example of Struts and Hibernate. Stick the Hibernate Session object into the httpServletRequest. Every action has a fresh Hibernate Session raring to go if it needs it. Then

RE: Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Joe Hertz
, but it got me wondering about where the bathwater began and where the baby ended. -Original Message- From: Brandon Mercer [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 4:48 PM To: Struts Users Mailing List Subject: Re: Hibernate and Struts Usage Pattern question/survey Joe Hertz

RE: Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Joe Hertz
, but it got me wondering about where the bathwater began and where the baby ended. -Original Message- From: Brandon Mercer [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 4:48 PM To: Struts Users Mailing List Subject: Re: Hibernate and Struts Usage Pattern question/survey Joe Hertz

Re: Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Christian Bollmeyer
On Tuesday 01 March 2005 22:07, Joe Hertz wrote: Curious as to which concept Struts/Hibernate implementers like more for implementation: #1- Ted Husted's example of Struts and Hibernate. Stick the Hibernate Session object into the httpServletRequest. Every action has a fresh Hibernate

Re: Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Brandon Mercer
Joe Hertz wrote: I've been hearing this from the Spring set. I'm waiting for a good book to come out on it. www.springlive.com a REALLY good book for more than just spring. It's 30 bucks online, money WELL spent. Brandon -

RE: Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Joe Hertz
This particular application (tiny, not used much, never will be, and was written in a hurry and not by me) implementing it after the fact ain't going to happen. Not worth the cost to the customer. In general though, youre quite correct (and I'm cutting through the layers of abstraction.

RE: Hibernate and Struts Usage Pattern question/survey

2005-03-01 Thread Joe Hertz
This particular application (tiny, not used much, never will be, and was written in a hurry and not by me) implementing it after the fact ain't going to happen. Not worth the cost to the customer. In general though, youre quite correct (and I'm cutting through the layers of abstraction.