db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Knut Anders Hatlen <Knut.Hat...@sun.com>
Subject Re: derby.drda.startNetworkServer property
Date Mon, 19 Sep 2005 16:40:16 GMT
wolfgang127us@yahoo.co.jp writes:

> Hi there,
>
> I got a question about the derby.drda.startNetworkServer property.
> I've read through the doc and it says the following.
> -------------------------------------------------------
> Use the derby.drda.startNetworkServer property to simplify embedding the 
> Network Server in your application. When you set derby.drda.startNetworkServer,
> the Network Server will automatically start when you start Derby. Only
> one Network Server can be started in a JVM.
> -------------------------------------------------------
>
> Does it mean even though I start Derby using "Class.forName("org.apache.derby.jdbc.EmbeddedDriver");",
> the Network Server will start if I set derby.drda.startNetworkServer true ?

Yes, that's what it means. When the embedded driver is loaded, it will
check whether that property is set, and start the network server if it
is true.

-- 
Knut Anders

Mime
View raw message