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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Properties file Vs Xml
 
Similar Threads
Log4J Configuration
log4j with filters using properties
What do i choose???
HowTo Disable Logging Output for classes using commons.logging
How to hide/disable Hibernate log to console