mina-dev mailing list archives

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


Maarten Bosteels-4 wrote:
> 
> ...
> ...
> Actually, using MINA is not so much different from writing servlets (or
> spring controllers):
> * you should not store conversational state in objects that are shared
> between threads (eg Servlets, Service objects, ...)
>    (store this info in the IoSession)
> * usage of Thread locals should last longer than one event (most
> frameworks
> will do this properly)
> 
> I hope it's clear now ?
> 

Crystal -- thanks much for your help.

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


Mime
View raw message