2019 was partly spent learning about Spring at work. We have a couple of microservices that are make good use of it in the app tier. There are so many good ideas in here worth study. Here are my notes:

-Dspring.profiles.active: Used to selectively load or not components defined in a spring application. eg We can selectively load / activate capabilities by environment: @Profile(“dev”)

# Profile tagging with annotations @Component @Profile("dev") Public Class DataSourceConfig {...} # Profile tagging in xml <beans profile="dev">...</beans>