tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: Fire off asynch task in Tomcat.
Date Fri, 23 Jul 2010 18:22:27 GMT
Christopher Schultz wrote:
> 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:
For additional commands, e-mail:

View raw message