The Design of Software (CLOSED)

A public forum for discussing the design of software, from the user interface to the code architecture. Now closed.

The "Design of Software" discussion group has been merged with the main Joel on Software discussion group.

The archives will remain online indefinitely.

Help packaging an application

Hi,
I just finished working on a small Java desktop application that uses Oracle XE as a database. I would like to email it to friends to test it, however I don't want them to have to download XE, install it and run my SQL creation scripts. In addition, they can't connect remotely to the database running on my development machine.
Is there a way to package the database with the application, so that all they have to do is install my application and use it?
In other words, how do I provide a database functionality without the need for a database?

Tuesday, May 15, 2007
 
 
If you app stores data you need a database of some kind. You will need to change you app to handle two kinds of databases - a local one like mysql or access and the client/server one which you already support Oracle for.
Bob
Tuesday, May 15, 2007
 
 
There are some smaller database engines that you could use ....

using oracle xe for small software is an overkill
Totally Agreeing
Wednesday, May 16, 2007
 
 
Take a look at Sqlite.

From its website at http://www.sqlite.org, "SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine".

It doesn't do transactions but apart from that, it's great.

It comes with a native C interface, but there is a JDBC wrapper available at <http://www.zentus.com/sqlitejdbc/index.html>
Rachel Willmer Send private email
Wednesday, May 16, 2007
 
 
++Rachel (and SQLite).

Not sure why you say it doesn't do transactions though.
Doug
Wednesday, May 16, 2007
 
 

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics
 
Powered by FogBugz