I have been somewhat away from Java EE for a while, but I have a basic idea of all this stuff.
I am reading the JTDS docs here:
http://jtds.sourceforge.net/features.html
It says it provides statement pooling, and connection pooling, but does not provide a connection pool implementation.
- Provided that the JTDS driver itself provides connection pooling, then why do I need a connection pool (like DBCP) on top it?
- In other words, what is the difference between that connection pooling provided by JTDS, and a full-blown connection pool implementation (in the sense of this JTDS documentation page) on top of it?
- Also, what's the difference between statement and connection pooling (as mentioned there on this JTDS doc page)?
Feel free to add more details to your answer
(whatever you find important; things I didn't ask explicitly about)
as I am quite confused with this.