-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 André,
On 7/22/2010 4:33 AM, André Warnier wrote: > André Warnier wrote: > Talking further to myself, I'll add that it also makes it easier to > suspend/resume the sending of emails separately if you need to for some > reason, without having to change anything to your running webapp. +1 > I know, it is certainly less exciting than using consumer/producer > patterns or Executor classes.. sigh. This is still a producer/consumer pattern, honestly. It's just that the classes are communicating using a database-based queue instead of via method calls, etc. I've built a wonderfully over-engineered email sending program that uses the Executor classes. It actually is a multi-threaded and pipelined report-generation-and-emailing program. It chews through tons of quarterly reports and runs quite well. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkxIeNcACgkQ9CaO5/Lv0PBIjQCgrDrW+/E2GwhMueyvPsiNbiUh KmoAnirc+zn0MBrrjxmUabq2ODZN7904 =atUL -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org