Can we keep application configuration at different places and what could be the consideration for choosing multiple places for doing so ?
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. Can we keep application configuration at different places and what could be the consideration for choosing multiple places for doing so ?Design
Ans. Yes an application can have configuration stored at multiple places. Factors that could facilitate such a design could be

1. Type of config information - We may have a case to store confidential information differently than other regular config value

2. Environment - We may like to have a base config ( defined in application package ) and then a different override mechanism in different environments.

3. Centralization - Sometime some configs need to be shared across application and hence centralized.

4. Testing - Testing against config may not be possible in some enviornments in certain cases and hence additional config store might be kept for testing purpose only.

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

   Like         Discuss         Correct / Improve     Design  Solution


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: