精通Spring+4.x++企業開發與實踐學習之SpringBoot

#SpringBoot

  • 在SpringBoot1.2以前使用@Configuration,@ComponentScan,@EnableAutiCofiguration註解標識啓動類,到了SpringBoot1.2時,直接使用@SpringBootApplication代替。

#持久層

  • Spring內置jdbcTemplate
  • Hibernate和MyBatis
  • 只是業務層事務的開啓(只需要在啓動類使用@EnableTransactionManagement註解,相當於 在xml配置文件的tx:annotation-driven/)
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章