黑龙江工程学院本科生毕业设计
外文文献翻译
SpringFramework
Spring is an open source framework, and Spring was launched in 2003 as a lightweight Java development framework created by Rod Johnson. In a nutshell, Spring is a hierarchical, JavaSE/EEfull-stack (one-stop) lightweight open source framework. The powerful JavaBeans based configuration management using the Inversion of Control (IoC) principle makes application components faster and easier.
1. facilitate decoupling and simplify development
Through the IoC container provided by Spring, we can control dependencies between objects by Spring, avoiding excessive program coupling caused by hard coding. With Spring, users do not have to write code for the bottom tier requirements of single instance schema classes, properties, file parsing, and so on, and can focus more on top tier applications.
2.AOP programming support
Through the Spring functionality provided by AOP, it is easy to implement face oriented programming, and many features that are not easily implemented with traditional OOP can be easily handled by AOP.
3. declarative transaction support
In Spring, we can extricate ourselves from tedious and tedious transaction management code and flexibly manage the transaction through declarative manner, so as to improve the efficiency and quality of development.
4. convenience program testing
Almost all test work can be done in a non container dependent programming manner, and in Spring, testing is no longer expensive, but something to do. For example, Spring supports Junit4 and can easily test Spring programs by annotations.
5. convenient integration of various excellent framework
Spring does not exclude all kinds of excellent open source framework, on the contrary, Spring can reduce the difficulty of the use of Spring framework, provides a framework for a variety of excellent (such as Struts, Hibernate, Hessian, Quartz) directly support the.
6. reduce the difficulty of using Java EE API
Spring provides a th