What are the advantages disadvantages of keeping config entries in database instead of property file and vice versa ?
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Interview Questions and Answers

 Q1. What are the advantages disadvantages of keeping config entries in database instead of property file and vice versa ?Design
Ans. Entries in DB will be retrieved at runtime unless a cache is maintained in application. Entries in File will be loaded to memory by default. Both can be implemented in 1 manner or other. By default property file will take space in memory, will be faster, and will require application restart on change. By Default DB config will be pulled at runtime, will be little slower, and doesn't require an application restart.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     design


Related Questions

 What is Dependency Injection or IOC ( Inversion of Control ) ?
  What is MVC ?
 Let's suppose we have an to destroy objects, Design a program to implement garbage collection ?
  What are the Wrapper classes available for primitive types ?
 Design an e commerce application using AWS ? What AWS services will you use ?
  Difference between Factory and Abstract Factory Design Pattern ?
  Difference between Factory and Builder Design Pattern ?
  Difference between Builder and Composite ?
  Difference between Factory and Strategy Design Pattern ?
  If you are given a choice to implement the code to either Insert a Record or Update if already exist, Which approach will you follow ?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: