Which Free Standalone / Embeddable Database? - To be integrated with Java app on standalone PC

free web hosting
Free Web Hosting > Computers & Tech > Programming > Programming General

Which Free Standalone / Embeddable Database? - To be integrated with Java app on standalone PC

Vyoma
Does any one have experience or solution for this?

Here is what I want:

I need to develop an application that would be running on only one computer which is not networked in anyway. It will be a standalone PC and it would not have internet connection. The application I need to develop would most probably be written in Java - and it may go for Java swing components. The application would need a database. I need to install the database on the same computer.

What open source or free database options do I have that would let me develop an application using Java on it?

Can MySQL be setup on a standalone PC and be accessed by Java on it? If not are there other options and what are they?


Reply

miCRoSCoPiC^eaRthLinG
Try SQLite ( http://www.sqlite.org ) - one of the very best in free & open-source embeddable SQL compliant databases.. I use it for every single one of my standalone applications.

MySQ can easily be set-up on a standalone PC, but it still has to be setup as a Service/Daemon and will act the same way as a remote server. For small applications, this is too much of an overkill and SQLite gives you a decent way out here..

You can manipulate SQLite databases using the C++ API (which is kind of messy) or you can take the easier way out by using some wrappers which provide you with standard classes for manipulating SQLite DBs.. here are a few:
  • http://www.sqlite.org/cvstrac/wiki?p=SqliteWrappers - The COMPLETE List
  • http://www.ch-werner.de/javasqlite/overview-summary.html
  • http://freshmeat.net/projects/java_sqlite/

Hope this helps smile.gif



Reply

Vyoma
Thanks for the link to SQLite, miCRoSCoPiC^eaRthLinG. I sure will check it out.

But from the brief description that you have given, it seems to be a database with APIs in C/C++. I can very well use C/C++ but for this project, I would like to use Java (and the Swing classes along with it).

Can I connect to this database from a Java program?

And about MySQL - it may seem like an overkill to go for this option, but if I can have a program written in Java connect to it, I do not mind going for a MySQL setup.

Reply

ethergeek
I've had tremendous success with HSQLDB. HSQLDB is the embedded, all-java, relational DBMS that's used as the storage backend for OpenOffice.org Base.

Your other option for an embedded RDBMS is to look at the apache derby project. I don't have much experience with it though, so I can't say how it compares to HSQLDB.

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. standalone database - 28.15 hr back. (1)
  2. how to create stand alone sqlite database application - 44.29 hr back. (1)
  3. database stand alone - 45.61 hr back. (1)
  4. best stand alone database - 64.96 hr back. (1)
  5. stand alone java database - 65.61 hr back. (1)
  6. making standalone openoffice databases - 71.86 hr back. (1)
  7. best standalone database - 75.89 hr back. (1)
  8. ruby standalone app - 108.21 hr back. (1)
  9. java database programming sqlite - 111.38 hr back. (1)
  10. sqlite standalone java - 115.17 hr back. (1)
  11. java stand alone database - 142.21 hr back. (1)
  12. standalone databases - 151.63 hr back. (1)
  13. creating a stand alone database - 161.01 hr back. (1)
  14. stand alone database - 37.83 hr back. (3)
Similar Topics

Keywords : database, software, integrated, java, app, standalone, pc

  1. C, C++ Or Java - Where To Start ?
    (7)
  2. Ruby - Better Programming Language Than Java Or C#?
    Ruby is an object-oriented, meta-programming language that has many de (1)
    hey all i read this very intresting and intriguing article and i thought i should share it here..
    find example codes in the attached file. cheerz! shiv Ruby —A Diamond of a Programming
    Language? QUOTE Have you heard about Ruby? It seems to be a popular topic in software
    development circles today. This language came to my attention at a Java conference last spring,
    where gentlemen like Bruce Tate (author of Bitter Java and Better, Faster, Lighter Java), Dave
    Thomas (Pragmatic Programmer: From Journeyman to Master), and others were all talking about Rub....

    1. Looking for database, software, integrated, java, app, standalone, pc

Searching Video's for database, software, integrated, java, app, standalone, pc
advertisement




Which Free Standalone / Embeddable Database? - To be integrated with Java app on standalone PC



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE