spring boot 学习

  spring 最基础的问题是什么是bean,bean是实现各功能的组件,如component,service,repository,controller,实现依赖注入.

  spring 四大原则:1.使用POJO进行轻量级和最小侵入式开发。2.通过依赖注入和基于接口编程实现松耦合。3.通过AOP和默认习惯进行声明式编程。4.使用AOP和模板(template)减少模式化代码。

posted @ 2017-06-08 11:35  Tobu  阅读(89)  评论(0编辑  收藏  举报