Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 58079 invoked from network); 26 Oct 2004 11:26:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 26 Oct 2004 11:26:03 -0000 Received: (qmail 59392 invoked by uid 500); 26 Oct 2004 11:25:19 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 59245 invoked by uid 500); 26 Oct 2004 11:25:17 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 59159 invoked by uid 99); 26 Oct 2004 11:25:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of mvaterlaus@gmail.com designates 64.233.184.193 as permitted sender) Received: from [64.233.184.193] (HELO wproxy.gmail.com) (64.233.184.193) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 26 Oct 2004 04:25:15 -0700 Received: by wproxy.gmail.com with SMTP id 57so184777wri for ; Tue, 26 Oct 2004 04:25:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=D6J8e3kc23lCZpS7EoUxAcmobiufipBTD744qTIQt0jl7DLy7dLXC1Oco8SpprcO7XBWD/q3CBVSZWG8A7RrrFSKxaHzFzf2JuSnZA5ECpjbJF5586/1wWx3k4VSSLM4R20UXQJ3Z+XKC8tNg6N5e3SPj5uVTefOrgs1BWUU5MY= Received: by 10.38.150.32 with SMTP id x32mr375693rnd; Tue, 26 Oct 2004 04:25:11 -0700 (PDT) Received: by 10.38.209.2 with HTTP; Tue, 26 Oct 2004 04:25:11 -0700 (PDT) Message-ID: <404c8a8d04102604252153cac9@mail.gmail.com> Date: Tue, 26 Oct 2004 13:25:11 +0200 From: Markus Vaterlaus Reply-To: Markus Vaterlaus To: users@cocoon.apache.org Subject: Best Practice Connecting to n Databases Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, I'm keen to now your experiences and best practices for the following situation: I need to be able to select one out of n databases and query it. N is actually a number around 50. The queries are the same on each database. All information relevant to the access to such a database (user name, password, server name, port, db name) is available in one central place (xml file or database). The user selects the database and the first query is executed. I thought about building dynamically an ESQL serverpage which takes the access parameters for the selected database as an input. I haven't tried it yet, therefore I don't know if it's possible at all. What are your suggestions? Do you have other ideas? Cheers, Markus --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org