db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Waagan <Kristian.Waa...@Sun.COM>
Subject Re: Start server within java-application???
Date Wed, 04 Nov 2009 08:42:46 GMT
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.


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,


> Greetings

View raw message