mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Winters <ch...@cwinters.com>
Subject ThreadLocal with Mina: ok or not?
Date Thu, 30 Aug 2007 12:51:36 GMT

In April of this year someone posted a question about using Mina with
frameworks that use ThreadLocal (Hibernate, Spring, etc.):


There, Rob Butler mentioned:

> ...Since DB interaction, etc could possibly block these
> operations should be done within a worker thread obtained from the thread
> pool.  

I'm a Mina newbie, so "the thread pool" he's discussing here is a little
fuzzy, It seems from reading the "Configuring thread model" page
(http://mina.apache.org/configuring-thread-model.html) that he's referencing
an ExecutorFilter added to the IoFilterChain -- is that correct?

Also, if you were fairly risk tolerant and were deploying a new application
in about 45 days, would you use 1.1.x or 2.x?



Chris Winters
Lead Software Developer
Vocollect Healthcare Systems

View this message in context: http://www.nabble.com/ThreadLocal-with-Mina%3A-ok-or-not--tf4354098s16868.html#a12406614
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.

View raw message