Hardie82 wrote:
Hallo,
I want to start derby in servermode within a java-application. Is this
possible? I didn't find a thing in the documentation but start the server
via console-statements.
Hello,
You have two options;
- set a system property before you load the embedded driver
- start the server programmatically
In both cases you need derby.jar and derbynet.jar on the classpath.
More information in [1] under "Derby in a server framework" and then
"Embedded servers".
Hope this helps,
--
Kristian
[1]
http://db.apache.org/derby/docs/dev/adminguide/adminguide-single.html#cadminov17524
Greetings