Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@jakarta.apache.org Received: (qmail 67566 invoked by uid 500); 15 Aug 2001 05:30:43 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Avalon Development" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 67555 invoked from network); 15 Aug 2001 05:30:42 -0000 Content-Type: text/plain; charset="iso-8859-1" From: Darrell DeBoer To: "Avalon Development" Subject: Re: JdbcDataSource Date: Wed, 15 Aug 2001 15:33:14 +1000 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01081515331409.01243@localhost.localdomain> Content-Transfer-Encoding: 8bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi Oki, I've just commited a "userstore" proposal to jakarta-james. This includes an updated JDBC UsersRepository, which uses the Cornerstone DataSourceSelector block. So, database connections are configured in one spot for use in other components/blocks, as you wanted. This should give you some pointers as to how to get started. ciao Daz On Wed, 15 Aug 2001 11:13, Oki DZ wrote: > Hi, > > Is there any plan to turn JdbcDataSource into an Avalon block? I tried to > use it in two Avalon blocks, and I had to put the configuration block > twice in the configuration file. Had I used it in 10 blocks, then I would > have to have 10 configuration blocks in the config file; not a nice > picture. > > There is such Avalon block in Cocoon. But using Cocoon when all you need > is just the db connection pooling is a bit overkill. I think such db conn. > pooling block belongs to Excalibur. > > Oki > ps: I have downloaded Cocoon 2, but I couldn't find > org.apache.cocoon.component.datasource.DataSourceComponent in the jar. > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: avalon-dev-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: avalon-dev-help@jakarta.apache.org