java 翻译框架_Java框架(Spring、Struts、Hiberbate)简介

JAVA框架(Spring、Struts、Hiberbate)简介(中文2000字,英文1400字)

作者:sun(Spring、Struts、Hiberbate)

.参考文献:《Struts使用开发指南---基于MVC+MyEclipse的JAVA Web应用开发》

Struts是一个基于Sun J2EE平台的MVC框架,主要是采用Servlet和JSP技术来实现的。

Struts框架可分为以下四个主要部分,其中三个就和MVC模式紧密相关:

1、模型(Model),本质上来说在Struts中Model是一个Action类(这个会在后面详细讨论),开发者通过其实现商业逻辑,同时用户请求通过控制器(Controller)向Action的转发过程是基于由struts-config.xml文件描述的配置信息的。

2、视图(View),View是由与控制器Servlet配合工作的一整套JSP定制标签库构成,利用她们我们可以快速建立应用系统的界面。

3、控制器(Controller),本质上是一个Servlet,将客户端请求转发到相应的Action类。

4、一堆用来做XML文件解析的工具包,Struts是用XML来描述如何自动产生一些JAVABean的属性的,此外Struts还利用XML来描述在国际化应用中的用户提示信息的(这样一来就实现了应用系统的多语言支持)。

Struts is a MVC framework based on the Sun J2EE platform, mainly using Servlet and JSP technology to realize.

The Struts framework can be divided into the following four main parts, three of which is closely related to MVC mode:

1, model (Model), essentially in the Struts Model is a Action class (this will be discussed in more detail in the back), developers through the implementation of business logic, while the user request through the controller (Controller) to the forwarding process of Action is based on the configuration information is described by the struts-config.xml file.

2, the view (View), View is composed of a set of JSP custom tag library working in conjunction with the Servlet controller, using them we can quickly establish the application system interface.

3, the controller (Controller), is essentially a Servlet, client requests are forwarded to the appropriate Action class.

4, a pile of used to do the XML file parsing toolkit, Struts XML is used to describe how to produce some of the attributes of JAVABean automatic, Struts also uses XML to describe in the international application user prompt information (thus implementing multi-language support application system support).

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值