Results 1 to 3 of 3
Thread: Saving java application data
- 06-18-2012, 10:10 PM #1
Member
- Join Date
- Apr 2012
- Posts
- 68
- Rep Power
- 0
- 06-19-2012, 10:21 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Re: Saving java application data
Figure out the minimum amount of data you need to save.
If it's a handful of numbers then just save those, if it's a whole load of state (think some strategy games) then you'll have to come up with a structure to hold that.
I am curious, though. Why does serialisation not work?Please do not ask for code as refusal often offends.
- 06-20-2012, 04:39 PM #3
Member
- Join Date
- Oct 2011
- Posts
- 33
- Rep Power
- 0
Re: Saving java application data
If you have more sophisticated data like user preferences as well, you can probably consider using xml files for storing data. Benefit of using xml is that you will get lot of open source library to work with but as Tolls pointed out it depends upon how much data you are saving, more small piece of data it would be overkill.
Similar Threads
-
Saving an image to my sql database from a openDialog box in a java application
By cornell in forum New To JavaReplies: 1Last Post: 02-10-2012, 01:44 PM -
Hi! Saving data??
By Gahstanz in forum New To JavaReplies: 1Last Post: 06-29-2010, 06:29 AM -
What do you use for saving data from table?
By ocean in forum New To JavaReplies: 1Last Post: 11-21-2009, 07:08 PM -
Saving data...?
By easyRyder in forum New To JavaReplies: 8Last Post: 07-15-2008, 03:14 AM -
Saving application settings
By mwildam in forum New To JavaReplies: 0Last Post: 11-16-2007, 02:30 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks