Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Properties file Vs Xml

 
James Gordon
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 986
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks better on your resume.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Neither one
That all old hat - the NEWEST cool thing to use is Preferences.
(At least for today . . . . )
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic