Reputation: 259
I have a derby database folder. I am using the database with my java app with the URL: "jdbc:derby:C\enterprisedb", "user", "pass";
Now I need to make this database remote so that it can be accessed from remote computers also. How can I do that?
Upvotes: 0
Views: 502
Reputation: 1503649
I haven't used Derby, but the documentation suggests that it can run in a standard client/server mode.
So you should follow these instructions for starting a Derby network server, eventually ending up with:
java -jar derbyrun.jar server start
(on the server).
Then from your client, use a JDBC URL of something like
"jdbc:derby://yourserver:1527/enterprisedb"
Upvotes: 2