Return-Path: Delivered-To: apmail-incubator-uima-user-archive@locus.apache.org Received: (qmail 42893 invoked from network); 13 Oct 2007 23:28:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Oct 2007 23:28:09 -0000 Received: (qmail 73603 invoked by uid 500); 13 Oct 2007 23:27:56 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 73580 invoked by uid 500); 13 Oct 2007 23:27:56 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Delivered-To: moderator for uima-user@incubator.apache.org Received: (qmail 11314 invoked by uid 99); 13 Oct 2007 21:30:02 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of thomas.thomas.francart@gmail.com designates 66.249.92.174 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=p1EIWTfDzb5koFXMyZ0lL3Aa515eCjI/8tNoOC5/uTI=; b=sD/jHdrSsdyKzY0NGnYrOejy2YA/jrH1v5K0t9aGgtacHFoDZ36zNH0ihdeu2FIMvSe97Mo429So8GHeI2rfmU2CY+mCo2ziSOLDNOOzCouRyBx9TX6Op1pvNAya9ncnsGflOZmHUcadrw2waPX5fripKhq/ufI4CtmZMA1HKyM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Da8TISH23A/aVElGCHdwtIrNNcVeFeIU/+Xz37L+DeG5HlrZQP5nJudq8eLyn3QUwB82rLBGGP10bym3E6LGE/8Klq1PTROI/tRI2cfpBrEqYhFONF2k8yvN7wGa6ss1lVM2wmhk9qFtibdugTQc6CK2uNH1bP8YtM5ALO095zI= Message-ID: <93e86c0a0710131429q6aeb474dpe849059c22314314@mail.gmail.com> Date: Sat, 13 Oct 2007 23:29:44 +0200 From: "Thomas Francart" To: uima-user@incubator.apache.org Subject: Sharing a database connection across Analysis Engines MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15992_32373313.1192310984400" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_15992_32373313.1192310984400 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all I want to share a remote connection to an EJB (it could be to a database) across analysis engines. 1. If I assume that all my AE are local, is this possible ? how ? 2. In the UIMA philosophy, should each AE open its own connection ? 3. If I need to open a connection for each AE, how can I share the connection properties for this connection in a single file ? in other words, how can I access a single properties file (or maybe a resource XML description) from every AE ? 4. I understood there was a notion of "session" that was intended to share data across multiple instances of the same AE. Isn't there a notion of session to share data across the different AE in the flow ? (I don't want to put connection parameters inside the CAS, it has nothing to do with the document analysis) Thanks for your help Thomas ------=_Part_15992_32373313.1192310984400--