You can also configure an embedded database to work as a hybrid server or embedded RDBMS. You can do this to enable accepting of TCP/IP connections from clients other than those in the same JVM.
The Derby Network server gives you more reach to the Derby database engine with the provision of standard client server functionality. The server lets clients to connect with TCP/IP using DRPA protocol. The server also provides JDBC, PHP, Perl, CLI, ODBC support for the Derby engine.