Accessing Java DB outside NetBeans
<p>I developed an application with a java db database .I cannot access the database records when I close the netbeans IDE with the message "Error connecting to server Localhost on port..." My connection code to the Database is :</p>

<pre><code>String host="jdbc:derby://localhost:1527/Employee;create=true";
String user="admin";
String pass="admin";
con=DriverManager.getConnection(host,user,pass);
</code></pre>

<p>How do I fix the problem?</p>
