- Apache Derby Tutorial
- Apache Derby - Home
- Apache Derby - Introduction
- Apache Derby - Deployment Modes
- Apache Derby - Environment Setup
- Apache Derby - Tools
- Apache Derby - Syntax
- Apache Derby - Data Types
- Apache Derby - Create Table
- Apache Derby - Drop Table
- Apache Derby - Insert Data
- Apache Derby - Retrieve Data
- Apache Derby - Update Data
- Apache Derby - Delete Data
- Apache Derby - Where Clause
- Apache Derby - GROUP BY Clause
- Apache Derby - Order By Clause
- Apache Derby - Having Clause
- Alter Table Statement
- Apache Derby - Derby Indexes
- Apache Derby - Procedures
- Apache Derby - Schemas
- Apache Derby - Triggers
- Apache Derby Useful Resources
- Apache Derby - Quick Guide
- Apache Derby - Useful Resources
- Apache Derby - Discussion
Apache Derby - Deployment Modes
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 application (using embedded driver). If you deploy Derby in embedded mode, the database engine will run in the same JVM as the Java application. It starts and stops with the application. You can access the database only with this application.
Server mode
In the server mode, derby will be run in the JVM of an application server where you can send a request to the server to access it. Unlike in embedded mode, multiple applications (java) can send a request to the server and access the database.
Advertisements