2024年4月27日发(作者:)
外文文献翻译
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.
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 thin layer of encapsulation for many difficult Java, EE, API (such
as JDBC, JavaMail, remote calls, etc.), and the use of these Java EE API is greatly reduced
through the simple package of Spring.
source code is a classic example of learning
发布者:admin,转转请注明出处:http://www.yc00.com/news/1714157692a2392743.html
评论列表(0条)