Preferred data-format for user-data in java applications?
Posted
by Frederik Wordenskjold
on Stack Overflow
See other posts from Stack Overflow
or by Frederik Wordenskjold
Published on 2010-06-03T20:12:14Z
Indexed on
2010/06/03
20:14 UTC
Read the original article
Hit count: 237
I'm currently developing a desktop application in java, which stores user data such as bookmarks for ftp-servers. When deciding how to save these informations, I ended up using xml, simply because I like the way xpath works. I was thinking about json too, which seems more lightweight.
What is your preferred way to store data in java desktop applications (in general) and why? What about java-persistence, does that have any advantages worth noting? And how much does the size of user data matter? Its not always possible to store data in a database (or preferable), and in my experience xml does not scale well. Let me know what you think!
© Stack Overflow or respective owner