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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org