Is CDI a good replacement of Spring?

前端 未结 3 741
离开以前
离开以前 2021-01-30 01:05

We are planning to write a web application from the scratch, it has been decided to go with the latest edition of Glassfish which complies to Java EE 6 standard, therefore we ar

3条回答
  •  伪装坚强ぢ
    2021-01-30 01:20

    Spring is more than just a dependency injection container. It also has tools for AOP, templates for use with JPA, SQL, etc. and even more.

    However CDI can be used as a replacement for Spring's DI API.

提交回复
热议问题