JavaEE_Spring Framework

问题

  什么时候使用IOC容器,什么时候不使用?

  场景1. Spring Framework 的源码实现,违反了IOC初衷。为什么?

  场景2. 有些中间件如Mycat不使用IOC,为什么?

  场景3. 为什么业务系统经常使用IOC?

  场景4. 为什么不使用EJB的IOC容器?

  场景5. 为什么要有JavaEE,学习Java是否可以不做JavaEE?

资料

  Design pattern – Inversion of control and Dependency injection

  经典软件架构模式

结论

  框架或中间件:类与类的关系是很明确的,系统是高度内聚的。

  业务系统:类与类之间的关系,极不稳定,可能从关联关系,变成没有关系(如果是分层模型的话)模块之间,可能从上下级调用关系变成平行关系。

  ok, Do u like making the enterprise software?   

  "Enterprise software" is a social, not technical, phenomenon

  CDI(contexts and dependency inject) is come from the jsr(Java Specification Request) of jcp(java community process). It descripts the 

建模

  SysML

  question on Quora platform:

    How can SysML be useful in systems engineering?

    What are DOORS and SysML? How are both interrelated and applied in systems engineering?

  other platform:

    Application of Integrated Modeling and Analysis to Development of Complex Systems

    

     

原文地址:https://www.cnblogs.com/yanyue/p/8515451.html