Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I need to handle data from\to files in java. So which is better to use, XML or dat ?
Posted
Updated 8-Apr-10 1:07am
v3

1 solution

It all depends on what you need.

Do you need to make it difficult for users to mess around with that data? Then use a binary file or better yet, place it in a database. IF you want human-readable, structured, data, XML is your choice.

Java is capable enough to let you work with either with equal ease.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900