关键词不能为空

当前您在: 主页 > 英语 >

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
1970-01-01 08:00
tags:

-

2021年1月23日发(作者:defy)
黑龙江工程学院本科生毕业设计

外文文献翻译

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
Spring source code, clear structure, exquisite design originality, embodies the master of
the
Java
design
pattern
and
the
flexible
use
of
Java
technology
accomplishment.
Spring

黑龙江工程学院本科生毕业设计

framework source code is undoubtedly the best practice example of Java technology. If you
want to quickly improve your Java skills and application development level in a short time,
learning an.

The
role
of
MVC
-
Spring
is
integration,
but
not
just
integration,
and
the
Spring
framework
can
be
seen
as
a
framework
for
enterprise
solution
levels.
The
client
sends
a
request,
the
server
controller
(implemented
by
DispatcherServlet)
to
complete
the
request
forwarding, call a controller for mapping class HandlerMapping, the class is
used to map
requests to the corresponding processor to process the request. HandlerMapping will request
is mapped to the corresponding processor Controller (equivalent to Action) in Spring if you
write some processor components, the general implementation of the Controller interface in
Controller,
you
can
call
Service
or
DAO
to
operate
data
from
the
DAO
ModelAndView
used to store the retrieved data, some data can also be stored in response to the view. If you
want to return the result to the user, it also provides a view of ViewResolver component in
Spring
framework,
the
component
labeled
Controller
returns
according
to,
find
the
corresponding view, the response response back to the user.

Each module (or component) that makes up the Spring framework can exist alone, or
can be implemented in conjunction with one or more other modules. Each module has the
following functions: 1, the core container: the core container provides the basic functionality
of
the
Spring
framework
(Spring,
Core).
The
main
component
of
the
core
container
is
BeanFactory, which is implemented in factory mode. BeanFactory uses the control inversion
(IOC) pattern to separate application configuration and dependency specifications from the
actual application code.

Spring
框架


Spring
是一个开源框架,
Spring
是于
2003
年兴起的一个轻量级的
Java
开发框架,

Rod Johns on
创建。简单来说,
Spring
是一个分层的
JavaSE/EEful l-stack(
一站式
)

量级开源框架。强大的基于

JavaBeans
的采用控制反转(
Inversion
of
Control

IoC

原则的配置管理,使得应用程序的组件更加快捷简 易。



1.
方便解耦,简化开发

通过
Spring
提供的
IoC
容器,我们可以将对象之间的依赖关系交由
Sp ring
进行控
制,避免硬编码所造成的过度程序耦合。有了
Spring
, 用户不必再为单实例模式类、
属性文件解析等这些很底层的需求编写代码,可以更专注于上层的应用。< br>



编程的支持

通过
Spring提供的
AOP
功能,
方便进行面向切面的编程,
许多不容易用传统
OOP
实现的功能可以通过
AOP
轻松应付。

-


-


-


-


-


-


-


-



本文更新与1970-01-01 08:00,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/553639.html
    上一篇:没有了
    下一篇:没有了

的相关文章