> Emmanuel Lecharny [mailto:[EMAIL PROTECTED] wrote
>
> Hi guys,

Hi!

[snip]
>
> 1) Are you using the ExecutorFilter ?

Yes

> 2) Where in the chain do you put this filter ?

Behind the codec and (SLF4J) logging filters, just before the long running 
tasks and database stuff begins.

> 3) what if the IoHandler itself implement an executor instead of using
> a specific filter ?

We have Filters that will do database stuff, like logging things, checking for 
some preconditions, etc. So it wouldn't help very much.

> 4) Is this a problem if the chain is not protected when using an
> ExecutorFilter ?

The one method/event at a time per session should be ok for most cases. Maybe 
it would be good for beginners to have a single threaded chain.


regards

Steve

Reply via email to