ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Prudzilko <aprud...@welho.com>
Subject Re: Connection session bound
Date Sat, 16 Dec 2006 19:29:15 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<body bgcolor="#ffffff" text="#000000">
Hi Brandon,<br>
well i was just reading some hibernate tutorials and there were some
thought about binding a db connection at least to a http request to
gain more performance.<br>
Now im writing an ajax webapplication, so i have a lot of tiny http
requests. So binding the db connection there wouldn't make much sense.
So I thought, if its beneficial I would prefer binding it to a http
Well might be of course total bogus :-D. To be honest I'm not even sure
how the performance would improve especially since there is a
connection pooling to begin with.<br>
Any remarks on my thoughts?<br>
- Andreas<br>
 type="cite">I can't imagine a situation where I would tie a connection
to an HttpSession. What is causing you to consider this? If you can
provide some insight as to why you would want to do this we can provide
more pointed advice.<br>
  <div><span class="gmail_quote">On 12/16/06, <b
 class="gmail_sendername">Andreas Prudzilko</b> &lt;<a
 moz-do-not-send="true" href="mailto:aprudzil@welho.com">aprudzil@welho.com</a>&gt;
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
i was wondering about the connection pooling in ibatis. Is it possible<br>
to bind a connection to a httpsession?<br>
Or are there any pros and cons to do it?<br>
- Andreas<br>

View raw message