This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Properties file Vs Xml
It's not a secret anymore!