The Framework Renaissance of 2011-2012
Three years into the Oracle era, and I have to admit - the Java ecosystem has exploded with innovation. The fears about corporate control stifling open source development have proven largely unfounded. Spring's Dominance Solidifies Spring Framework 3.1 introduced profiles and environment abstraction, which revolutionized how we handled different deployment environments: @Configuration @Profile("development") public class DevConfig { @Bean public DataSource dataSource() { DriverManagerDataSource dataSource = new DriverManagerDataSource(); dataSource.setDriverClassName("org.h2.Driver"); dataSource.setUrl("jdbc:h2:mem:testdb"); return dataSource; } } @Configuration @Profile("production") public class Pro...