It's not a secret anymore!*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
Author

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.

Mohan.


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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Resource bundle or use Database to store properties.