<br><br><div class="gmail_quote">On Wed, Mar 25, 2009 at 1:41 PM, Jay McCarthy <span dir="ltr"><<a href="mailto:jay.mccarthy@gmail.com">jay.mccarthy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I can't comment on what works best, but I can say that nothing in the<br>
web-server prevents you from implementing any of those options.<br>
<br>
For different sessions to use the same connections, they must servlet<br>
module-level definitions.<br>
</blockquote><div><br>So when web-server creates two separate threads for the same servlet module, does the connection get duplicated or shared? What if the connection is instantiated in a module that's included by the servlet module?<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
For different servlets to use the same connections, there must be a<br>
single module that handles the connections that is shared via<br>
make-servlet-namespace.<br>
<br></blockquote><div>Related to the previous question if the answer is duplicated - can make-servlet-namespace be used with `serve/servlet`? <br><br>Thanks,<br>yc<br><br> </div></div><br>