JDBC connection open or closed?
<p>I have a Java application with a JDBC connection, which performs many different tasks. My question is what is best for performance:</p>

<ul>
<li>To have an open connection for the duration of the application running?</li>
<li>Close and reopen connection based on what tasks are performed and create new connection variables?</li>
</ul>
