Hi...
I read on the allaire website that they recommend turning off connection pooling in JRun, with the argument that if you are using an enterprise database it will already pool the connections on the DB-side, and will probably do it much more efficiently than JDBC will. I'm writing a small serverside Java app that connects to an oracle database (not EJB or servlets, just a small multithreaded socket listener). Should I try to implement my own simple connection pool, or use a pre-made one, or should I leave it up to oracle?
thanks
-
to pool or not to pool (4 messages)
- Posted by: Simon Stanlake
- Posted on: August 07 2001 18:38 EDT
Threaded Messages (4)
- to pool or not to pool by Eric Ma on August 07 2001 22:01 EDT
- to pool or not to pool by Jason McKerr on August 08 2001 11:24 EDT
- to pool or not to pool by Simon Stanlake on August 08 2001 12:31 EDT
- to pool or not to pool by Dimitri Rakitine on August 14 2001 10:54 EDT
- to pool or not to pool by Simon Stanlake on August 08 2001 12:31 EDT
-
to pool or not to pool[ Go to top ]
- Posted by: Eric Ma
- Posted on: August 07 2001 22:01 EDT
- in response to Simon Stanlake
Wow! That is quite a shocking statement they made at Macromedia/Allaire/JRun. This is definitely countrary to common belief/practice. I wonder what kind of benchmarks they have to support their claim.
As for your need, there are open source connection pooling libraries, such as DbConnectionBroker at www.javaexchange.com and PoolMan at www.codestudio.com that you may want to take a look. If you ever decide to give Oracle MTS a try for server-side connection pooling, please share your findings with us. -
to pool or not to pool[ Go to top ]
- Posted by: Jason McKerr
- Posted on: August 08 2001 11:24 EDT
- in response to Simon Stanlake
I find it fairly amazing about that. Especially since the guy who runs the http://www.codestudio.org (PoolMan Connection Pool Project) is also part of the JRun container development team. Could you post the URL to that? -
to pool or not to pool[ Go to top ]
- Posted by: Simon Stanlake
- Posted on: August 08 2001 12:31 EDT
- in response to Jason McKerr
sure, the url is http://www.allaire.com/Handlers/index.cfm?ID=17266&Method=Full&Cache=Off . the last section is titled "when not to use jrun connection pooling". -
to pool or not to pool[ Go to top ]
- Posted by: Dimitri Rakitine
- Posted on: August 14 2001 22:54 EDT
- in response to Simon Stanlake
It actually says that they do not recommend using JRun connection pooling when JDBC driver implements 2.0 pooling by itself - it is not the same as not using connection pooling at all ;-)