Sorry to repost this question, but the more i think about it the more i
think it a reasonable one (please tell me if i'm wrong).
-- Forwarded Message
From: Mark Lowe [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
Date: Tue, 17 Dec 2002 09:03:33 +0100
To: Struts Users
The normal thing to is the following: You aquire a database connection
in the action class and pass it on as a parameter to the bean's database
methods.
--- Matthias
Mark wrote:
Sorry to repost this question, but the more i think about it the more i
think it a reasonable one (please tell me
thanks in advance
mark
Many thanks in advance
mark
-- Forwarded Message
From: Mark [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
Date: Tue, 17 Dec 2002 11:18:25 +0100
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: FW: dataSources outside
Using the command design pattern you can ensure the DB code needs to be coded
only once.
See the example below
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg24579.html
--- Matthias Bauer [EMAIL PROTECTED] wrote:
The normal thing to is the following: You aquire a database
-To: Struts Users Mailing List [EMAIL PROTECTED]
Date: Tue, 17 Dec 2002 11:18:25 +0100
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: FW: dataSources outside of actionservlet
Sorry to repost this question, but the more i think about it the more i
think it a reasonable one (please
Another option is to aquire the database connection via jndi when you
need it.
Edgar
-Original Message-
From: Matthias Bauer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 17, 2002 9:05 AM
To: 'Struts Users Mailing List'
Subject: Re: FW: dataSources outside of actionservlet
6 matches
Mail list logo