云题海 - 专业文章范例文档资料分享平台

当前位置:首页 > Spring和MyBatis的外文翻译分析

Spring和MyBatis的外文翻译分析

  • 62 次阅读
  • 3 次下载
  • 2025/6/15 10:57:03

在Spring里,我们也遵循MVC的原则。它被设计为基于互联网和桌面的应用程序。Spring包含三个核心组件。1,控制器:处理导航逻辑和交互与服务的业务逻辑层2,模型:控制器和视图之间的联系,包含由控制器渲染的视图和其所需的数据3,视图:根据用户请求,呈现从模型中获取数据。 spring MVC核心组件如下。 1.DispatcherServlet:Spring的前端控制器实现。它是控制器进行交互的第一个请求。我们也可以说它是一个Servlet的实现。它控制应用程序的完整流程。 2.控制器:用户创建的组件来处理请求封装导航逻辑代表服务对象的业务逻辑。 3.视图:负责渲染输出。不同的视图可以在查看设备的基础上,选择不同类型的通信设备和输出结果。 ModelAndView:ModelAndView是spring框架的核心部分。它实现了应用程序的业务逻辑。它是由控制器控制。每当它执行时,都会存储业务逻辑和与之关联的视图。 ViewResolver:根据返回的结果,输出显示收到的ModelAndView。由逻辑视图名称映射到实际的视图是由它实现的。这部分标识时实现输出媒体是什么,以及如何显示该媒体。 HandlerMapping:该接口使用DispatcherServlet传入的请求映射到单个控制器。它标识请求,并调用相应的处理程序提供的服务。 下面的图显示了模型的作用。在这个dispatcher Servlet应用程序的入口点,Struts部分作为框架,而dispatcher Servlet用于发送请求。Servlet决定处理程序。那么它将调用控制器,控制器执行ModelAndView。 图5 序列流应用程序的spring框架 三 提出的方法 这种方法的组合应用为两个框架,struts和spring应用程序开发打下了基础。序列图的组合应用程序解释如上所述,这是应用程序的主要驱动力。要想使用这种方法,web应用程序的基本知识是必要的。我们已经测试了上述概念,找出它优点,上述体系结构的主要优点如下: 1.它将提供一个非常简洁的部分之间的行动,行动的形式,控制器,处理共9页 第 4 页

器,javabean模型和视图。 2.我们使用的优势是Spring MVC非常灵活。不像Struts,这迫使你的行动和表单对象具体的继承。 3.Spring MVC是完全基于接口。Spring MVC框架的每一部分是可配置的。 4.它提供了控制器,使其易于从用户界面处理的请求。 5.我们可以使用JSP或任何其他技术来显示视图,给用户的任何输出设备输出结果视图。 6.Spring配置控制器通过控制反转。这使其他对象由spring集成,于是它们更易于测试。 7.Spring MVC web层Struts web层相比,由于避免强迫继承和显式依赖dispatcher Servlet控制器,Spring MVC相对更好一些。 8.web层变成了薄层上的一个业务对象层,这鼓励良好的实践。 9.Struts框架的目的仅用于设计web界面。spring框架则是开发的桌面和网络应用程序。当两个框架结合,他的灵活性则将体现出来。 四 总结 相比于单一框架,多框架体系结构更有效。为了发展的大规模应用程序,我们可以使用大规模的机械、提高大型数据库应用程序的性能,比如请求数量,请求处理的能力。多框架体系结构还将为公司和程序员开放新的范围和新的商业机会。所以建议使用多个框架以便能有更好的性能。由于框架代码结构过大,在此我们不予显示。 五 未来研究 开放技术是吸引学术和研究学者的最好的方法。由于开放技术,现在是J2EE的广阔领域。技术的变化也使得架构不断的变化。有许多的框架可以使用J2EE技术,单独的某一个架构是从来不可能完成大规模的应用程序的。我们将努力工作,从而进一步实现和加强MVC架构。 参考文献: [1] Shu-qiang Huang, Huan-ming Zhang, ” Research on Improved MVC Design Pattern Based on Struts and XSL” , in Information Science and Engineering ISISE 08 International Symposium on, 2008, vol. 1 PP. 451 – 455 [2] Juanjuan Yan; Bo Chen; Xiu-e Gao, \Wang; Research of Structure Integration Based on Struts and Hibernate\and Information Engineering,2009, vol. 7,PP. 530-534 [3] Wojciechowski, J.; Sakowicz, B.; Dura, K.; Napieralski, A.,\model, struts framework and file upload issues in web applications based on J2EE platform\in Proceedings of the International Conference on Modern Problems of Radio Engineering, Telecommunications and Computer Science 2004, 2004, PP 342-345 [4] Erxiang Chen; Minghui Liu, \Based on Struts and Hibernate Framework\in WASE International Conference on Information Engineering ICIE 09, 2009, Vol. 2,PP. 310-313 [5] Yonglei Tao; \Education 2002 FIE 2002. 32nd Annual,2002, Vol 1,PP. T2G-7 - T2G-10 [6] Meiyu Fang, \and Implement of a Web Examination System Using Struts and EJB\25-28 [7] Wang Ning; Li Liming; Wang Yanzhang; Wang Yi-bing; Wang Jing,\the Web Information System Development Platform Based on MVC Design Pattern\共9页 第 5 页

IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology, 2008 , Vol 3,pp. 203-206 作者简介 Praveen古普塔是,印度,那格浦尔那格浦尔大学电子工程工程学士,他掌握技术在信息技术从印度旁遮普大学。他在印度孟买一家软件公司担任技术主管。他是计算机电子和电气工程师协会(美国节能经济委员会)的一个研究学者,追求印度拉贾斯坦邦Pacheri巴里Singhania大学的博士学,。他的主要研究兴趣包括:MVC,Java设计模式和框架。 Govil获得了博士学位。他的工作是印度阿杰梅尔女性工程学院的教授和政府负责人。他有超过20年的教育和研究经验并且已经发表了很多篇论文。他的研究兴趣包括通信、网络技术、软件工程等。 共9页 第 6 页

附件(外文原文) MVC Design Pattern for the multi framework distributed applications using XML, spring and struts Praveen Gupta Research Scholar, Singhania University Pacheri Bari, Rajasthan, India praveen2gupta@gmail.com Abstract— The model view controller (MVC) is a fundamental design pattern for the separation between user interface logic and business logic. Since applications are very large in size these days and the MVC design pattern can weak the coupling among the different application tiers of application. this paper presents a web application framework based on MVC in J2EE platform, and extends it with XML so that the framework is more flexible, expansible and easy to maintain. This is a multitier system including presentation layer, business layer, data persistence layer and database layer. This separate codes, and improve maintainability and reusability of the application. In this paper, we implemented MVC using spring and struts framework. Our research study show that applying multiple framework to design the applications using MVC concepts makes applications easier compare to a single framework. Index Terma: MVC, Spring, XML I. INTRODUCTION Web is the very complex issues these days. Since the desire of the companies and organizations are increasing so the complexity and the performance of the web programming matters. Complexity with the different types of communication devices is increasing. The business is demanding applications using the web and many communication devices. So with the increase load of the data on the internet we have to take care of the architecture issue. Let us discuss in brief the research done so far in MVC. 1. 1 NO MVC : In The initial phase of the web development the pages were used to be designed in the html. Html is the plain text only. This was the first markup language which can work on the internet. And today stills it works as building block for the all Internet based programming languages. The user has to interact with the static pages. The information written on the pages had to change manually. As the time grows the demand arises for a language that can interact with the user and page can be changed as per the requirement of the user. 1.2 MVC Model 1: The first major change in the architecture comes with the introduction of the MVC Model 1 Architecture. This architecture was completely based on the page centric approach. In this model a Java Server Pages to program to control the Presentation, Business Logic and flow of the program. In this model the concept of the Business Logic was introduced. The business logic was hard coded in the form of the Java Beans and scriptlets and expressions. All this codes was used to write within the JSP page. Let us assume a case when we want to transfer the flow of the jsp application based on the 共9页 第 7 页

搜索更多关于: Spring和MyBatis的外文翻译分析 的文档
  • 收藏
  • 违规举报
  • 版权认领
下载文档10.00 元 加入VIP免费下载
推荐下载
本文作者:...

共分享92篇相关文档

文档简介:

在Spring里,我们也遵循MVC的原则。它被设计为基于互联网和桌面的应用程序。Spring包含三个核心组件。1,控制器:处理导航逻辑和交互与服务的业务逻辑层2,模型:控制器和视图之间的联系,包含由控制器渲染的视图和其所需的数据3,视图:根据用户请求,呈现从模型中获取数据。 spring MVC核心组件如下。 1.DispatcherServlet:Spring的前端控制器实现。它是控制器进行交互的第一个请求。我们也可以说它是一个Servlet的实现。它控制应用程序的完整流程。 2.控制器:用户创建的组件来处理请求封装导航逻辑代表服务对象的业务逻辑。 3.视图:负责渲染输出。不同的视图可以在查看设备的基础上,选择不同类型的通信设备和输出结果。 ModelAndView:ModelAndView是spring框架的核心部分。它实现了应用程序的业

× 游客快捷下载通道(下载后可以自由复制和排版)
单篇付费下载
限时特价:10 元/份 原价:20元
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信:fanwen365 QQ:370150219
Copyright © 云题海 All Rights Reserved. 苏ICP备16052595号-3 网站地图 客服QQ:370150219 邮箱:370150219@qq.com