This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes Resource bundle or use Database to store properties. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Resource bundle or use Database to store properties." Watch "Resource bundle or use Database to store properties." New topic

Resource bundle or use Database to store properties.

Mohana Rao Sv
Ranch Hand

Joined: Aug 01, 2007
Posts: 485

Hi friends, Actually so far I used to use resource bundle to read the properties and all the latest MVC frameworks are supporting it (in built mechanism) but in the recent project as per the specification we are not allowed to use resource bundle rather we should get it from the Database. As per my understanding only advantage we can get is dynamic changes. If we make any changes it will reflect immediately without server restart. Even that is the case there is alternative for this using Spring ReloadableResourcebundleMessagesource. But do you consider this is good design or approach. Thanks for having your time.


ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
It is sorta covered in the JavaRanch Style Guide.
subject: Resource bundle or use Database to store properties.
Similar Threads
changing locale of websites dynamically
Properties Vs ResourceBundle
Getting values from properties in validate-using multiple message-resources in struts
Using struts2 only for internationalization