Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best database to use for a Java desktop application [closed]

Which of the following databases is best for a big desktop application: Firebird, JavaDB, hsqldb ? I need performance, easy of use, and totally free license.

like image 484
blow Avatar asked Apr 28 '10 23:04

blow


People also ask

Which database does Java support?

It is JavaDB : Java DB is Oracle's supported distribution of the Apache Derby open source database. It supports standard ANSI/ISO SQL through the JDBC and Java EE APIs.

Is Java good for desktop applications?

Desktop applications can be easily developed using Java. We use APIs like AWT, Swing, JavaFX to build these applications. AWT (Abstract Windowing Toolkit) is an interface used to develop window-based applications in Java.


1 Answers

If you're looking for an embeddable database, my recommendation would be H2 (stands for Hypersonic 2, (re)written by the author of HSQLDB). See the detailed comparison of features and of performances.

Using a 100% Java database would allow to run it in the same process and make things a lot easier IMO.

like image 178
Pascal Thivent Avatar answered Oct 15 '22 16:10

Pascal Thivent