You can send apache derby in two modes, in particular implanted mode and worker mode.
Embedded mode
You can run derby in inserted mode utilizing Java application (utilizing installed driver). In the event that you convey Derby in installed mode, the information base motor will run in a similar JVM as the Java application. It starts and stops with the application. You can get to the information base just with this application.
Server mode
In the worker mode, derby will be run in the JVM of an application worker where you can send a solicitation to the worker to get to it. Dissimilar to in inserted mode, different applications (java) can send a solicitation to the worker and access the information base.