Description: Database-wide properties are stored in the database and are simpler for deployment, while system-wide parameters might be easier for development.

# Embedded systems and properties

Database-wide properties are stored in the database and are simpler for deployment, while system-wide parameters might be easier for development.

- If you are setting any system-wide properties, see if they can be set as database-wide properties instead.
- Are any properties being set in the derby.properties file? Some properties can only be set on a system-wide basis. If so, deploy the entire system directory along with the properties file. Deploy only those databases that you wish to include. Setting properties programmatically can simplify this step- you will not have to worry about deploying the system directory/properties file.

Extra steps are required for deploying an application and an embedded database on read-only media.

Parent topic: Deploying Derby in an embedded environment
Related concepts
Embedded deployment application overview
Deploying Derby in an embedded environment
Creating Derby databases for read-only use
Recommended practices
Related tasks
Creating and preparing the database for read-only use