How to make a choice between PooledDataSource and dbcp when I work with the MyBatis?
<p>I am now config a project work with spring and mybatis.</p>

<p>There are many example online tell me should use a <code>org.springframework.jdbc.datasource.DriverManagerDataSource</code> as the datasource, but mybatis use <code>PooledDataSource</code> as the datasource, it's confusing me. so, I read source codes of the <code>DirverManagerDataSource</code>, it's just a mock pool connection. so, I know how to make a choice.</p>

<p>But, I have a new problem soon. How to make a choice between <code>PooledDataSource</code> and <code>DBCP</code>? I read source codes of the <code>PooledDataSource</code>, it's also a simple implementation, but the codes of these two lib is too complex, i don't have enough time to read these codes.</p>

<p>can you tell me which is more powerful? and why? thanks!</p>