title: Differences of connection pool, jdbc and jndi
body: <p>I need to know if my understanding on the above is correct.</p>
  
  <p>In a connection pool you set multiple connections with the use of java.sql.Datasource.</p>
  
  <p>In jdbc we directly specify the connection url and oracle.jdbc.driver.OracleDriver and it's always one connection, where another request has to wait until the connection has finished processing. </p>
  
  <p>And with JNDI it's similar to direct jdbc where we refer the jdbc setting via a name, so that we can specify the connection url and other setting in the application server and not have them bound to the application, right?</p>