Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 58241 invoked from network); 23 Jul 2010 18:23:25 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Jul 2010 18:23:25 -0000 Received: (qmail 33142 invoked by uid 500); 23 Jul 2010 18:23:21 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 33095 invoked by uid 500); 23 Jul 2010 18:23:20 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 33086 invoked by uid 99); 23 Jul 2010 18:23:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jul 2010 18:23:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Jul 2010 18:23:12 +0000 Received: from [192.168.245.152] (p549E1CB4.dip0.t-ipconnect.de [84.158.28.180]) by tor.combios.es (Postfix) with ESMTPA id 8D56722615E for ; Fri, 23 Jul 2010 20:20:47 +0200 (CEST) Message-ID: <4C49DDE3.9000103@ice-sa.com> Date: Fri, 23 Jul 2010 20:22:27 +0200 From: =?UTF-8?B?QW5kcsOpIFdhcm5pZXI=?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Fire off asynch task in Tomcat. References: <4C47CFFD.1090603@gmail.com> <4C487839.1090203@christopherschultz.net> <4C487982.1050704@christopherschultz.net> <4C48D725.5060207@gmail.com> <4C49DBB5.4030405@christopherschultz.net> In-Reply-To: <4C49DBB5.4030405@christopherschultz.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Christopher Schultz wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Eric, > > On 7/22/2010 7:41 PM, Eric P wrote: >> I'll probably go w/the email queue/database table approach. All the >> points André and Christopher raised gave me further insight into the >> robustness of this approach (loose coupling w/the app, no extra lib >> dependencies, emails not lost if the app goes down, etc.). Also, the >> email queue table can serve as a nice log of emails processed. > > Heh, I hadn't thought of that point, which is an excellent one. > > Another (potential) advantage of using a database to hold the "queue" is > that you can then choose some other programming language to do the > actual email sending if that's more convenient for you. > Too late, that suggestion was already made : ".. it does not even depend on the programming language used to write the email-sending job.." You can of course imagine which language I was thinking of. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org