Database pool must be created once during the startup of your client. I think it&#39;s better to create it somwhere after reading configs, etc and just pass it to your handler afterwards.<br><br><div class="gmail_quote">On Wed, Sep 21, 2011 at 9:10 PM, men10 <span dir="ltr">&lt;<a href="mailto:menimmailim@yahoo.com">menimmailim@yahoo.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thank you for reply<br>
<br>
So I guess I should execute querys in Execution<br>
Handler(OrderedMemoryAwareThreadPoolExecutor) and if create pool in<br>
executionhandler (is it a good idea?) I dont need any other handler right?<br>
<div class="im"><br>
<br>
<br>
Norman Maurer-2 wrote:<br>
&gt;<br>
&gt; You should add an ExecutionHandler in front of your handler otherwise<br>
&gt; you will block the worker thread.<br>
&gt;<br>
&gt; Bye,<br>
&gt; Norman<br>
&gt;<br>
&gt;<br>
<br>
<br>
</div><font color="#888888">--<br>
View this message in context: <a href="http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Netty-with-DB-tp6815567p6816444.html" target="_blank">http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Netty-with-DB-tp6815567p6816444.html</a><br>

</font><div><div class="h5">Sent from the Netty User Group mailing list archive at Nabble.com.<br>
_______________________________________________<br>
netty-users mailing list<br>
<a href="mailto:netty-users@lists.jboss.org">netty-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/netty-users" target="_blank">https://lists.jboss.org/mailman/listinfo/netty-users</a><br>
</div></div></blockquote></div><br>