Sobes.tech
Junior

What types of configurations do you know?

sobes.tech AI

Answer from AI

  • Internal configurations: Set in the application code.
  • Configurations via system properties: Passed during JVM startup (-Dkey=value).
  • Configurations via environment variables: Read from the operating system environment.
  • Configuration files:
    • Properties (.properties)
    • YAML (.yaml, .yml)
    • JSON (.json)
    • XML (.xml)
  • Configurations via annotations: Used in frameworks (e.g., Spring @Value).
  • Configuration servers: Centralized storage for configurations in distributed systems (e.g., Spring Cloud Config, ZooKeeper).
  • Configurations from the database: Storage of settings in database tables.
What types of configurations do you know? — Java - sobes.tech