wood burning stoves 2.0*
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
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: 984

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
 
jQuery in Action, 2nd edition
 
subject: Properties file Vs Xml
 
Similar Threads
How to hide/disable Hibernate log to console
HowTo Disable Logging Output for classes using commons.logging
What do i choose???
log4j with filters using properties
Log4J Configuration