Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3440566
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:26:49+00:00 2026-05-18T08:26:49+00:00

I am making the decision for an embededded database in an upcoming Java servlet

  • 0

I am making the decision for an embededded database in an upcoming Java servlet application. I am down to two final contenders: SQLite with SQLiteJDBC “pure Java” drivers vs Java DB (aka Derby).

Here is my killer criteria: The application must run on any OS that supports Java, specifically we have Solaris, CentOS, Windows x86 and Windows x64 hosts that will all need to run the application. And installation must involve nothing more than copying the war file to the target server’s deployment folder and letting the server do the rest (which is nothing more than just copying a zip to the target server and then letting the server unzip and run the app). There should be no mucking around with native binaries as part of the installation, and no additional setup logic. (That’s actually not my requirement, it’s the company’s, for all servlet-based apps, but I do like it).

I know that Derby (Java DB) meets the above criteria. I’ve done it once or twice. But I really like SQLite’s single file architecture and the fact that the SQLite community is about 20 times larger than that of Derby. I also have a fear that Oracle will kill Derby someday, as they now have something like five competing database products under their umbrella and that can’t go on forever. Derby will probably be the first casualty when housekeeping begins.

So, I was looking at SQLiteJDBC, which claims to have “pure Java” JDBC drivers for SQLite. Now, I would understand “pure Java” to mean that there are no OS dependencies or additional libraries, that one can run the driver in any JVM on any OS. So, I go and get the jar file with the pure Java drivers. And being the curious sort, I look inside it. Then I notice it contains 4 files in the root with “.lib” extensions, as follows:

linux-amd64.lib
linux-x86.lib
mac-universal.lib
win-x86.lib

Ok, so, what’s up with that? Are these like native libraries for the named OS’s? If so, can I assume this pure Java driver will only run on a platform with an appropriate lib file in the jar? If that is the case, I lamentably will have to take SQLite out of the list of contenders, because winX64 and Solaris are our two most important OS’s here.

Or maybe I’ve misinterpreted and the pure Java driver really is pure Java and it will run on in any JVM?

All responses welcome!!!

Thanks in advance,
John

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T08:26:50+00:00Added an answer on May 18, 2026 at 8:26 am

    If I understand correctly, SQLiteJDBC itself is a Type 4 JDBC driver but still requires some native binary integration to the host operating platform since SQLite is still a C-based solution and does not have a network integration/protocol layer like SQL*Net for Oracle as far as I know. The SQLiteJDBC home page mentions a “NestedVM” implementation for any language supported by GCC, so it appears possible to deploy cross-platform wherever there is GCC runtime environment. There was no mention of Solaris however.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In terms of making a decision between WPF or Silverlight for an application does
I have a question about making the decision whether to use MySQL database or
I'm writing some decision-making AI for a game, and I've come up with the
I built a slideshow/decision-making game in Flash but would like to try to redo
I am trying to detect incoming url in asp.net page and making some decision
I have tough time making this design decision. I could go with traditional new
Making a simple application, so when the user logs out of Windows, it of
I took a class on Intelligent Decision Making (which was mostly an Problem Optimization
I have a boolean function which is used in the decision-making of many other
I would like to know what alternatives are out there before making a decision

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.