Java properties - .properties files vs xml?
        Posted  
        
            by pg-robban
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by pg-robban
        
        
        
        Published on 2009-09-04T16:04:09Z
        Indexed on 
            2010/05/12
            13:54 UTC
        
        
        Read the original article
        Hit count: 696
        
I'm a newbie when it comes to properties, and I read that XML is the preferred way to store these. I noticed however, that writing a regular .properties file in the style of
foo=bar
fu=baz
also works. This would mean a lot less typing (and maybe easier to read and more efficient as well). So what are the benefits of using an XML file?
© Stack Overflow or respective owner