Derby connection :(

Hi

I'm new to Derby and never heard of it before. There are few questions i want to ask. Can i use this database for medium type of organization.

I am using Netbeans for application development. So my derby position is on C:\and my database is on the F:\. ... When i use Embdedded driverhow can use the path to my database

String url = "jdbc:derby:F:\Database\Mydatabase";

is this the right way to to do?

in Netbeans we can start the database by Tools>JavaDB>start database server. but how can we start and stop it from our application. I want to use a jbutton to start and stop Derby. How can i achieve it.

And my last question. when i want to use derby from remote machine(client) how do i use the path to data base:

String url = "jdbc:derby://server/F:/Database/Mydatabase"

Is this the right way?

for the remote machine i'm using DerbyClient driver so how to use //localhost:1527 in url string.

Thanks for the help,

[989 byte] By [jawadaha] at [2007-11-27 10:25:21]
# 1

http://db.apache.org/derby/docs/10.2/getstart/getstart-single.html

http://db.apache.org/derby/docs/10.2/devguide/devguide-single.html

http://db.apache.org/derby/docs/10.2/adminguide/adminguide-single.html

+++ http://www.netbeans.org/kb/50/derby-demo.html

java_2006a at 2007-7-28 17:33:09 > top of Java-index,Database Connectivity,Java Database Connectivity (JDBC)...