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.
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.
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.
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