Properties vs Resource Bundle
<p>I read about properties and resource bundle. But I was unable to get difference between these. When to use Properties file and When to use Resource bundle.</p>

<p><strong>To load properties file use the following code</strong></p>

<pre><code>Properties tempProp = new Properties();
FileInputStream propsFile = new FileInputStream(xyz.properties);
tempProp.load(propsFile);
</code></pre>

<p><strong>To load Resource bundle</strong></p>

<pre><code>ResourceBundle labels =
    ResourceBundle.getBundle("xyz", currentLocale);
Enumeration bundleKeys = labels.getKeys();
</code></pre>

<p>In both of the case (in resource bundle and in Properites) we are using properties file found one difference is that to store application specifi data we use properties file and to use i18n data we use resource bundle. I dont know whether i am right or not. </p>

<p><strong>I would like to know thw use of the above to. What is the difference between these two.</strong></p>
