I have no clue....what does "o=jnditutorial " mean anyways ?
That library allows you to create database connection pool that can be accessed through JNDI.
i cant understand how using DBCP to get a pooled Connection will make getting that connection through JNDI easier (in terms of ease of getting datasource object through jndi how does it matter if i get pooled connection from DBCP or directly from the SQLServer driver's datasource imlpementation ?).
You need to understand that there are many JNDI providers. For simple purpose, you can use the filesystem service provider factory.