Another change you could make to improve the performance of the method
invoked by the timer, is instead of performing the actual database insert
for each email in that method, instead write a message to a JMS queue.  Then
create a message driven bean that processes the JMS messages and performs
the actual database insert.



--
View this message in context: 
http://openejb.979440.n4.nabble.com/Re-Why-are-Tomcat-s-threads-more-costly-than-background-threads-tp4659429p4659697.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to