t;atta-ur rehman" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Craig McClanahan"
<[EMAIL PROTECTED]>
Sent: Saturday, September 18, 2004 12:30 PM
Subject: Re: Idea for chain and DB transactions
Craig,
That sounds pretty exciting. Now,
Craig,
That sounds pretty exciting. Now, how could I, if at all, incorporate
this Filter/Chian functionality in my existing Struts 1.1 app?
ATTA
On Sat, 18 Sep 2004 07:19:45 -0700, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> Commons Chain (on which Struts Chain is based) has a design pattern
Commons Chain (on which Struts Chain is based) has a design pattern
built in for the general case were one command in the chain wants to
allocate resources that will be required for later commands in the
chain, plus the ability to clean up that resource when the chain
completes. See the Javadocs f
"Robert Taylor" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, September 17, 2004 3:17 PM
Subject: RE: Idea for chain and DB transactions
Sean, have you looked at Spring? It uses AOP and you can set up
transactions declaratively.
I&
ts Users Mailing List" <[EMAIL PROTECTED]>
|
| cc:
|
|
Sean, have you looked at Spring? It uses AOP and you can set up transactions
declaratively.
I'm just starting to investigate using Spring and I'm really impressed.
Like you I had a requirement to demarcate transactions at a high level so that
all business objects within the transaction were subj
dback.
sean
- Original Message -
From: "Erik Weber" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, September 17, 2004 2:49 PM
Subject: Re: Idea for chain and DB transactions
Overload each existing DAO method wit
Overload each existing DAO method with a secondary method that accepts
the Connection as a parameter instead of getting it on its own. Then let
your service layer object obtain the Connection, set autocommit to
false, invoke all the DAO methods you need, passing the customized
Connection to eac
8 matches
Mail list logo