aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Properties file Vs Xml" Watch "Properties file Vs Xml" New topic
Author

Properties file Vs Xml

James Gordon
Ranch Hand

Joined: Aug 09, 2002
Posts: 106
Hi,
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
structure.
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"
Sheriff

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
 
Consider Paul's rocket mass heater.
 
subject: Properties file Vs Xml