It is no problem having an application with an embedded Derby and
starting the Derby network server so that network clients may connect
to the same database:

You may e.g  start your embedded app like this:

java -Dderby.drda.startNetworkServer=true
 -Dderby.drda.host=ahost
  -Dderby.drda.port=12345
  -classpath derbynet.jar ...

Or do the following in your app:

NetworkServerControl server = new NetworkServerControl
           (InetAddress.getByName(“ahost”), 12345);
server.start(null);



-- 
Bernt Marius Johnsen, Staff Engineer
Database Technology Group, Sun Microsystems, Trondheim, Norway

Attachment: signature.asc
Description: Digital signature

Reply via email to