tags:

views:

517

answers:

2

I just want to know how I can start derby in network server mode and still be able to get an embedded connection?

Thank you.

+1  A: 

The Embedded Server mode sounds like what you are asking for. It allows you to start a network server when you start the embedded database.

Steve K
A: 

It sounds contradictory that you want to start derby in network server mode and get the embedded driver. Even if this might be possible, it is definitely discouraged. You should decide on whether you want to use Apache Derby in the network mode using the DRDA or as an embedded driver and stick to that decision.

Here you'll find a tutorial on how to use the network driver: http://db.apache.org/derby/papers/DerbyTut/ns_intro.html

lewap