Persistence in desktop applications

Will you bundle a full RDMBS with your GUI applications? How are you persisting the model in your desktop applications? What are the trends in this area? Well. If you build a Swing application that needs to persist your model then you don't probably want your users to download and install MySQL first. Right?

This is the problem I'm facing with the RSS feed reader I'm buildling. I want to store all the RSS feeds somewhere and be able to search them. Stuff there should be indexed. That easy. Easy? Or not?

read more

Comentarios:

Have you considered Derby?

Enviado por Alexis MP en febrero 15, 2006 a las 11:55 PM CET #

Well, yes. And PointBase. But I am looking for a smaller object oriented solution. All the SQL/JDBC stuff is just too much to solve a simple persistence stuff.

Enviado por Antonio en febrero 16, 2006 a las 08:41 AM CET #

I would recomend HSQLDB http://www.hsqldb.org/ as a nice light weight emdedable pure java database engine. Another option is to use simple xml/file storage and Lucene http://lucene.apache.org for indexing and searching. In our case for Imagery http://www.xerto.com/imagery we needed something that was faster and better with large datasets in small memory conditions than HSQLSB and we are using native PostgreSQL embeded in the GUI app with Hibernate object relational mapping to map object to the database. Another good option is Firebird http://firebird.sourceforge.net/ which has very nice support for embedding in Java applications. We went with PostgreSQL as its query perfomance was the best for the type of complex queries we wanted to do. If I was starting out from scratch today I my try for HSQLSB for data store with Lucene for high speed searching.

Enviado por Jasper en febrero 16, 2006 a las 09:25 AM CET #

another vote for hsqldb

Enviado por guest en febrero 16, 2006 a las 11:04 AM CET #

He's already said no to any relational db, more posts are on the new blog. http://www.antonioshome.net/blog/pivot/entry.php?id=8#body

Enviado por Jeffrey Olson en febrero 16, 2006 a las 11:42 AM CET #

Enviar un comentario:
Los comentarios han sido deshabilitados.
About

swinger

Search

Archives
« abril 2014
lunmarmiéjueviesábdom
 
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
    
       
Hoy