technology | writing | life

Make Contact!

Thursday, March 31, 2005

MySQL for Desktop Apps? 

9:53 AM
Q: I read your article Create Desktop Applications with Java-Based Web Technologies and was wondering how I could add mysql to my desktop application? I am creating a java-based web desktop application and was wondering how I could startup mysql so the application could use it and how to package it? Do you know of any articles or examples? Thanks.

A: MySQL would be kind of hard to attach to a desktop app - you'd need to pull in all sorts of native packages, etc. Plus, the GPL makes things hard, depending on your situation.

My suggestion would be to look at hsqldb as an embeddable Java relational database instead. I've used hsqldb and been pretty happy with it.

Another option would be derby, an Apache project.

If you use something like Hibernate (check out my book on Hibernate) you can support both hsqldb and MySQL much more easily.


Archives

03/30/2003 - 04/06/2003   05/04/2003 - 05/11/2003   01/11/2004 - 01/18/2004   01/18/2004 - 01/25/2004   01/25/2004 - 02/01/2004   02/01/2004 - 02/08/2004   02/15/2004 - 02/22/2004   02/29/2004 - 03/07/2004   03/07/2004 - 03/14/2004   03/14/2004 - 03/21/2004   03/28/2004 - 04/04/2004   04/18/2004 - 04/25/2004   05/23/2004 - 05/30/2004   05/30/2004 - 06/06/2004   06/13/2004 - 06/20/2004   06/27/2004 - 07/04/2004   03/27/2005 - 04/03/2005   06/05/2005 - 06/12/2005   07/31/2005 - 08/07/2005   10/09/2005 - 10/16/2005   01/29/2006 - 02/05/2006   04/02/2006 - 04/09/2006   06/04/2006 - 06/11/2006   06/25/2006 - 07/02/2006   08/27/2006 - 09/03/2006   12/17/2006 - 12/24/2006   01/21/2007 - 01/28/2007   07/19/2009 - 07/26/2009  

No need to by shy - make contact!

Copyright © 2003-2004 Will Iverson. All rights reserved.

This page is powered by Blogger. Isn't yours?