Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Java application using local MySQL DB: How to distribute easily?

Reply
Thread Tools

Java application using local MySQL DB: How to distribute easily?

 
 
francisrammeloo@hotmail.com
Guest
Posts: n/a
 
      04-02-2006
Hi all,

I have developed a Java application that makes use of a local MySQL
database. Is there a way to quickly install this application on a
user's computer without the burden of having to install MySQL first and
import the database?

Ideally the entire application + DB would be in one .jar or one
directory, then the installation would just be drag and drop. Is this
possible?

If it is not possible with MySQL; would there be another solution? Like
exporting the database to another format that allows easier
installation?

Any advice would be greatly appreciated,
Francis

 
Reply With Quote
 
 
 
 
Martin Gregorie
Guest
Posts: n/a
 
      04-02-2006
wrote:
> Hi all,
>
> I have developed a Java application that makes use of a local MySQL
> database. Is there a way to quickly install this application on a
> user's computer without the burden of having to install MySQL first and
> import the database?
>
> Ideally the entire application + DB would be in one .jar or one
> directory, then the installation would just be drag and drop. Is this
> possible?
>
> If it is not possible with MySQL; would there be another solution? Like
> exporting the database to another format that allows easier
> installation?
>

It might visit the Apache Foundation and take a look at Derby
http://db.apache.org/derby/

to see if that will do the job. Derby (formerly the IBM Cloudscape
product) is a pure Java Open Source RDBMS so you could deploy it from a
JAR file along with the application.

HTH

--
martin@ | Martin Gregorie
gregorie. | Essex, UK
org |
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Python and Connecting to MySQL remotely WITHOUT MySQL installedon local computer dave Python 4 11-18-2010 04:19 AM
Distribute asp.net 2003 application on a cd rom sms1973@earthlink.net ASP .Net 3 05-12-2008 05:11 PM
How can I distribute the application the I created using Visual C++ Salman C++ 6 04-19-2007 07:41 AM
Distribute jsp session web application ocean2005@hotmail.it Java 3 10-18-2005 07:59 PM
Seen this message? Can't connect to local MySQL server through socket '/tmp/mysql.sock' Allen Marshall Perl Misc 1 01-24-2004 10:55 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57