title: Which approach is better to load a JDBC driver?
body: <p>There are two ways to load a driver:</p>
  
  <ol>
  <li><p><code>Class.forName()</code></p></li>
  <li><p><code>DriverManager.registerDriver()</code></p></li>
  </ol>
  
  <p>Method 1 internally also calls DriverManager.registerDriver and method 1 is the preferred way. </p>
  
  <p>But why? Is there any small difference or is performance etc. better?<br>
  Any views are appreciated..</p>