Hi Brandon,

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.
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 sessions.
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.

Any remarks on my thoughts?

- Andreas
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.

Brandon

On 12/16/06, Andreas Prudzilko <[EMAIL PROTECTED]> wrote:
Hi,

i was wondering about the connection pooling in ibatis. Is it possible
to bind a connection to a httpsession?
Or are there any pros and cons to do it?

- Andreas




Reply via email to