[Pogamut-list] sqlitebot

jakub.gemrot pogamut-forum at artemis.ms.mff.cuni.cz
Sat May 30 17:27:56 CEST 2009


Re: sqlitebot

Author: jakub.gemrot

Hi Jeremy,

welcome to the forum!

Regarding the persistence question - have you considered using XML serialization of Java objects into the files? For instance http://xstream.codehaus.org/ XStream API is extremely easy to use (just annotate your Java object), is robust (allows you to deserialize XML into newer versions of Java classes) and produce human-readable XML files. 

I think that the problem whether to use RDBS is the question of the complexity of your bot's data.

Cheers!
Jakub





More information about the Pogamut-list mailing list