软件工程专业外文翻译

上传人:飞*** 文档编号:44254547 上传时间:2018-06-09 格式:DOC 页数:4 大小:37KB
返回 下载 相关 举报
软件工程专业外文翻译_第1页
第1页 / 共4页
软件工程专业外文翻译_第2页
第2页 / 共4页
软件工程专业外文翻译_第3页
第3页 / 共4页
软件工程专业外文翻译_第4页
第4页 / 共4页
亲,该文档总共4页,全部预览完了,如果喜欢就下载吧!
资源描述

《软件工程专业外文翻译》由会员分享,可在线阅读,更多相关《软件工程专业外文翻译(4页珍藏版)》请在金锄头文库上搜索。

1、54英文原文SSH is Spring + struts + Hibernate an integration framework, is one of the more popular a Web application framework.SpringLight weight - from two aspects in terms of size and cost of the Spring are lightweight.A complete Spring framework can in one size only 1MB multiple JAR files released.And

2、 Spring required processing overhead is not worth mentioning.Inversion of control - Spring through a known as inversion of control (IoC) technology promotes loose coupling.When using IoC, an object depend on other objects will be passed in through passive way, but not the object of its own to create

3、 or find a dependent object.You can think of IoC and JNDI instead - not the object from the container for dependent, but in different container object is initialized object request on own initiative will rely on to it.Aspect oriented programming - Spring provides rich support, allowed by separating

4、the applications business logic and system level service cohesion development.Application object only realize they should do - complete business logic.They are not responsible for other system level concerns.Container - Spring contains and management application object configuration and life cycle,

5、in this sense, it is a kind of container, you can configure each of your bean to be created - Based on a reconfigurable prototype (prototype), your bean can create a single instance or every time when they are needed to generate a new examples - and how they are interrelated.However, Spring should n

6、ot be confused with the traditional heavyweight EJB container, they are often large and unwieldy, difficult to use.StrutsStruts on Model, View and Controller are provided with the corresponding components.ActionServlet, this is Struts core controller, responsible for intercepting the request from th

7、e user.Action, this class is typically provided by the user, the controller receives from the ActionServlet request, and according to the request to call the model business logic method to processing the request, and the results will be returned to the JSP page display.55Part ModelBy ActionForm and

8、JavaBean, where ActionForm used to package the user the request parameters, packaged into a ActionForm object, the object to be forwarded to the Action ActionServlet Action ActionFrom, according to which the request parameters processing a user request.JavaBean encapsulates the underlying business l

9、ogic, including database access.Part ViewThis section is implemented by JSP.Struts provides a rich library of tags, tag library can be reduced through the use of the script, a custom tag library can be achieved with Model effective interaction, and increased practical function.The Controller compone

10、ntThe Controller component is composed of two parts - the core of the system controller, the business logic controller.System core controller, the corresponding ActionServlet.The controller is provided with the Struts framework, HttpServlet class inheritance, so it can be configured to mark Servlet.

11、The controller is responsible for all HTTP requests, and then according to the user request to decide whether or not to transfer to business logic controller.Business logic controller, responsible for processing a user request, itself does not have the processing power, it calls the Model to complet

12、e the deal.The corresponding Action part.HibernateHibernate is an open source object relation mapping framework, it had a very lightweight JDBC object package, makes Java programmers can use arbitrary objects to manipulate database programming thinking.Hibernate can be applied in any use of JDBC occ

13、asions, can be in the Java client program to use, also can be in Servlet / JSP Web applications, the most revolutionary, Hibernate can be applied in the EJB J2EE schema to replace CMP, complete data persistence.The core of Hibernate interface has a total of 5, are: Session, SessionFactory, Query, Tr

14、ansaction and Configuration.The 5 core interface in any development will be used in.Through these interfaces, not only can the persistent object access, but also to carry out a transaction control.56中文翻译中文翻译SSH 为 spring+ struts+ hibernate 的一个集成框架,是目前较流行的一种Web 应用程序开源框架。Spring轻量从大小与开销两方面而言 Spring 都是轻量

15、的。完整的 Spring 框架可以在一个大小只有 1MB 多的 JAR 文件里发布。并且 Spring 所需的处理开销也是微不足道的。控制反转Spring 通过一种称作控制反转(IoC)的技术促进了松耦合。当应用了 IoC,一个对象依赖的其它对象会通过被动的方式传递进来,而不是这个对象自己创建或者查找依赖对象。你可以认为 IoC 与 JNDI 相反不是对象从容器中查找依赖,而是容器在对象初始化时不等对象请求就主动将依赖传递给它。面向切面Spring 提供了面向切面编程的丰富支持,允许通过分离应用的业务逻辑与系统级服务进行内聚性的开发。应用对象只实现它们应该做的完成业务逻辑。它们并不负责其它的系

16、统级关注点。容器Spring 包含并管理应用对象的配置和生命周期,在这个意义上它是一种容器,你可以配置你的每个 bean 如何被创建基于一个可配置原型(prototype) ,你的 bean 可以创建一个单独的实例或者每次需要时都生成一个新的实例以及它们是如何相互关联的。然而,Spring 不应该被混同于传统的重量级的 EJB 容器,它们经常是庞大与笨重的,难以使用。Strutsstruts 对 Model,View 和 Controller 都提供了对应的组件。ActionServlet,这个类是 Struts 的核心控制器,负责拦截来自用户的请求。Action,这个类通常由用户提供,该控制器负责接收来自 ActionServlet 的请求,并根据该请求调用模型的业务逻辑方法处理请求,并将处理结果返回给JSP 页面显示。Model 部分部分由 ActionForm 和 JavaBean 组成,其中 ActionForm 用于封装用户的请求参数,封装成 ActionForm 对象,该对象被 ActionServlet 转发给Actio

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号