wood burning stoves
The moose likes Java in General and the fly likes Properties file Vs Xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Properties file Vs Xml" Watch "Properties file Vs Xml" New topic

Properties file Vs Xml

James Gordon
Ranch Hand

Joined: Aug 09, 2002
Posts: 106
I'd used both the Java properties file and xml
for storing configuration settings before. Dealing
with Xml seems to be slightly more tedious
compared to the properties file.
If I would to decide on which to choose, I think
I'll choose the properties file. However, I came
across many application using Xml for this purpose
and basically, I can't see any good reasons for
doing so, apart of Xml having a hierarchical
Any comments?
Thanks in advance.
William Barnes
Ranch Hand

Joined: Mar 16, 2001
Posts: 986

It looks better on your resume.

Please ignore post, I have no idea what I am talking about.
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Neither one
That all old hat - the NEWEST cool thing to use is Preferences.
(At least for today . . . . )

"JavaRanch, where the deer and the Certified play" - David O'Meara
Don't get me started about those stupid light bulbs.
subject: Properties file Vs Xml
jQuery in Action, 3rd edition