精通Spring+4.x++企业开发与实践学习之SpringBoot

#SpringBoot

  • 在SpringBoot1.2以前使用@Configuration,@ComponentScan,@EnableAutiCofiguration注解标识启动类,到了SpringBoot1.2时,直接使用@SpringBootApplication代替。

#持久层

  • Spring内置jdbcTemplate
  • Hibernate和MyBatis
  • 只是业务层事务的开启(只需要在启动类使用@EnableTransactionManagement注解,相当于 在xml配置文件的tx:annotation-driven/)

猜你喜欢

转载自my.oschina.net/u/3474937/blog/2246290