Is there a “best” or most popular database for standalone Java app?

后端 未结 6 1497
甜味超标
甜味超标 2020-12-31 12:20

Is there a \"best\" or more popular database for standalone Java app? I\'m currently writing by hand, but I would like to know what is commonly done, if there is something t

相关标签:
6条回答
  • 2020-12-31 12:51

    Java 6 ships with Derby (renamed JavaDB). It can be used in memory or server mode.

    HyperSQL (HSQLDB) is also popular.

    0 讨论(0)
  • 2020-12-31 12:57
    • HSQLDB is a well-established option.
    • JavaDB comes with the development kit
    0 讨论(0)
  • 2020-12-31 13:05

    For development purposes, I often use the Hypersonic SQL Database (HSQLDB). It's fast and lightweight, and good enough to get started. For a bigger application, I'd go for Derby, which supports more options.

    0 讨论(0)
  • 2020-12-31 13:07

    apart all those mentioned here, one can also go for H2 database which is light and can be used in-memory or in server mode.

    0 讨论(0)
  • 2020-12-31 13:12

    I would suggest using something like SQLite with SQLiteJDBC.

    It also sounds like HyperSQL and Derby (which ships with certain Java versions) are popular choices.

    0 讨论(0)
  • 2020-12-31 13:13

    The main competitors - HyperSQL (HSQLDB), JavaDB (Derby) and SQLite (not java-based) were mentioned.

    There are a few other options:

    • db4o - object database
    • FirebirdSQL - not java-based.
    • Jackrabit - a content repository (not RDBMS) supporting embedded mode.
    0 讨论(0)
提交回复
热议问题