前序 现在小米手机很火就还拿小米手机来举例子,上一篇写的关于SSH框架搭建是从小米手机公司内个整个流程方面来考虑,如何提高效率生产效率,这篇博客主要从公司外部环境说明如何提高生产效率,那么怎么才能提高呢? 这就需要找专业的厂商来管理某一部分的生产,代替自己生产,就好比利用Spring的IOC容器来管理对象的创建一样,而不是在程序里面代码进行创建,让我们来看一下官方丁描述. 控制反转即IoC (Inversion of Control),它把传统上由程序代码直接操控的对象的调用权交给容器,通过容器…