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.
Properties usually used for configuration file, not designed for internationalization (i18n) file. Such as log4j.properties or as your own configuration file.
ResourceBundle is used for internationlization (i18n), the "magic" of ResourceBundle is not only key-value pair, but it can set to spesific Locale (language,region/country,variant) with the same key.