File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Using struts2 only for internationalization
changing locale of websites dynamically
Getting values from properties in validate-using multiple message-resources in struts
Properties Vs ResourceBundle