Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

File based database in Java [closed]

Tags:

Are there any libraries create programs in java that uses a file as a database and you don't have to install database services on the computer you are going to use it?

like image 787
user Avatar asked Aug 26 '10 13:08

user


People also ask

What is the best embedded database for Java?

A few of the dominant providers are H2, HyperSQL, Apache Derby, Berkley DB, Java DB, ObjectDB, and so forth. HyperSQL conforms to the SQL:2011 standard and JDBC 4 specification and supports every classical feature expected from a modern relational database.

Which method is used for closing database connection in DbUtils?

See DbUtils. closeQuietly() to handle this silently.

What is file based database?

The systems that are used to organize and maintain data files are known as file based data systems. These file systems are used to handle a single or multiple files and are not very efficient.

Does Java have a inbuilt database?

Java DB is a fully transactional, secure, standards-based database server, written entirely in Java, and fully supports SQL, JDBC API, and Java EE technology. The Java DB database is packaged with the GlassFish application server, and is included in JDK 6 as well.


2 Answers

What about H2?

H2 is a relational database management system written in Java. It can be embedded in Java applications or run in the client-server mode. The disk footprint (size of the jar file) is about 1 MB. (Wikipedia)

like image 171
Alexander Avatar answered Nov 01 '22 06:11

Alexander


Derby and Hypersonic SQL can both be run in memory and server modes.

like image 27
duffymo Avatar answered Nov 01 '22 06:11

duffymo