tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Fire off asynch task in Tomcat.
Date Fri, 23 Jul 2010 18:13:09 GMT
-----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.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxJ27UACgkQ9CaO5/Lv0PAgEQCcDZlPk6RlfDPcCdANbTlvht1e
3SAAoKmHbkqZdFkPgTLYXnJkwApfQE2W
=GjNk
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message