1

I have in my Java app lot off properties that I store in property files ( I read them a ot and write a lot, app is some sort of ide for microprocessors,lot off users can have lot of projects with lot off properties ). I heard something about SQLITE and my question is : Can I use SQLITE and not to use those properties files, but that user doesn't have installed SQLITE server ? Does SQLITE require lot of memory ( if not to put inside installer installation for SQLITE if needed ) ?

Damir
  • 51,611
  • 92
  • 240
  • 358

3 Answers3

1

There's no such thing as "SQLite server", it's totally embedded fast lightweight DBMS that you can include within your app distribution. It's originally written in C but you can use SQLiteJDBC which includes several native implementations of SQLite as well as 100% pure Java implementation which runs on any platform.

pingw33n
  • 11,976
  • 2
  • 36
  • 38
1

There is no server component for SQLite. It's just a lightweight library that you can use to manipulate a file containing the database.

See this question about libraries for using SQLite in Java: Java and SQLite

Community
  • 1
  • 1
kwatford
  • 21,848
  • 2
  • 43
  • 60
0

If you prefer to use SQL DB then I think you'd be better off using java embedded DB like H2. It's lightweight, fast and easier to embed into a java application (just another jar file).

Yuval Rimar
  • 1,005
  • 12
  • 21