Java DB is Sun's supported distribution of the open source Apache Derby 100% Java technology database. It is fully transactional, secure, easy-to-use, standards-based — SQL, JDBC API, and Java EE — yet small, only 2.5 MB. Java DB technology adheres to the JDBC and ANSI/ISO SQL standards. This means Java DB provides the functionality expected of a sophisticated relational database, including SQL syntax, transaction management, concurrency, triggers, and backups. It also means that it is easy to migrate an application using Java DB to and from other standards-based databases, such as PostgreSQL, Oracle and DB2. Java DB provides a number of security mechanisms including database file encryption, authentication through either external LDAP directory or built-in repository, and authorization. In addition, access to the database can also be controlled at read-only or read-write level. Java DB allows users to define triggers to ensure referential integrity. It also supports Java stored procedures and functions. It is Embeddable.