Today, I use an in-memory map. Tomorrow, I will swap it for Postgres using Spring Data JPA. The service and controller code will not change. I use constructor injection instead of @Autowired. This ...