Web Moudle

SpringWeb层模块解析
本文介绍了Spring框架中Web层的三个核心模块:spring-web、spring-webmvc和spring-websocket。spring-web提供了基本的Web集成特性,如多部分文件上传及IoC容器的初始化等;spring-webmvc实现了MVC和RESTful Web服务,为Web应用程序提供了清晰的模型视图控制器分离;spring-websocket则专注于WebSocket的支持。

The Web layer consists of the spring-web, spring-webmvc and spring-websocket modules.


Web层由spring-web,spring-webmvc和spring-websocket 模块组成。


The spring-web module provides basic web-oriented integration features such as multipart file upload functionality and the initialization of the IoC container using Servlet listeners and a web-oriented application context. It also contains an HTTP client and the web-related parts of Spring’s remoting support.


该spring-web模块提供基本的面向Web的集成功能,例如多部分文件上传功能,以及使用Servlet侦听器和面向Web的应用程序上下文初始化IoC容器。它还包含一个HTTP客户端和Spring的远程支持的Web相关部分。

The spring-webmvc module (also known as the Web-Servlet module) contains Spring’s model-view-controller (MVC) and REST Web Services implementation for web applications. Spring’s MVC framework provides a clean separation between domain model code and web forms and integrates with all of the other features of the Spring Framework.

spring-webmvc模块(也称为Web-Servlet模块)包含用于Web 应用程序的 Spring的模型视图控制器(MVC)和REST Web Services实现。Spring的MVC框架提供了领域模型代码和Web表单之间的清晰分离,并与Spring Framework的所有其他功能集成。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值