English 中文(简体)
Apache Derby - Deployment Modes
  • 时间:2024-12-27

Apache Derby - Deployment Modes


Previous Page Next Page  

You can deploy apache derby in two modes, namely embedded mode and server mode.

Embedded mode

You can run derby in embedded mode using Java apppcation (using embedded driver). If you deploy Derby in embedded mode, the database engine will run in the same JVM as the Java apppcation. It starts and stops with the apppcation. You can access the database only with this apppcation.

Embedded Mode

Server mode

In the server mode, derby will be run in the JVM of an apppcation server where you can send a request to the server to access it. Unpke in embedded mode, multiple apppcations (java) can send a request to the server and access the database.

Server Mode Advertisements