1. It will provide a very clean pision between actions, action forms, controllers, handlers, JavaBeans models, and views.
2. Spring's MVC is very flexible. Unlike Struts, this forces your Action and Form objects into concrete inheritance. We are using advantage of both.
3. Spring MVC is entirely based on interfaces. Every part of the Spring MVC framework is configurable.
4. It provides controllers, making it easy to handling of many requests from User Interface.
5. We can use JSP or Any other Technology to display the view, results to the user on the any of the output device.
6. Spring Controllers are configured via Inversion of Controls. This makes them easy to test and integrated with other objects managed by spring.
7. Spring MVC web tiers are typically easier to test as compared to Struts web tiers, due to the avoidance of forced concrete inheritance and explicit dependence of controllers on the dispatcher Servlet.
8. The web tier becomes a thin layer on top of a business object layer. This encourages good practice.
9. Struts framework was designed for the web interface purpose only. The spring framework was developed for the desktop and internet applications. When both
frameworks used as combined it will provide the flexibility of implementation.
IV. CONCLUSION
Multiple framework architecture works better as compare to any single framework architecture. With the effective of the multiple frameworks for the development of the large scale applications we can improve the performance of the Large Database application in terms handling number of requests, processing ability and maximum use of the machinery. It will also open the new scope and new business opportunities’ for the companies and the programmers. It’s recommended to use the multiple frameworks for the Better performance.
B.原文翻译
MVC设计模式和Spring,Struts框架
I. 介绍
模型视图控制器(Model,View,Controller MVC)是一个用来分离用户界面逻辑和业务逻辑的基本设计模式。由于现在应用程序都非常大型,而且MVC设计模式可以减弱这些应用的不同应用层之间的耦合度。本文将展现一个基于J2EE平台下的MVC设计模式设计的Web应用框架,并通过XML进行扩展使得框架更加灵活,可扩展和易于文护。这是 一个包括表示层,业务层,数据持久层和数据层的多层结构。这样可以分离代码,提高应用的可文护性和可复用性。在本文我们使用Spring和Struts来实现MVC。我们的研究表明,与使用单一框架相比,通过采用MVC概念运用多种框架来设计应用程序可以是引用更加简易。论文网
如今,网络是非常复杂的问题。由于各种公司和组织的欲望不断增强,使得网络编程事宜编的越来越复杂。同时不同种类的通信设备的复杂度也在增加。业务需要使用网络和许多通信设备的应用。因此,随着网络上负载的数据越来越多,我们也不得不考虑网络的架构问题。接下来就简要的讨论目前为止对MVC的研究。
1.1 没有MVC的情况:
在Web页面开发的第一阶段,页面是在HTML中设计的。HTML是纯文本。这是第一个能够在Internet网上运作的标记语言。如今它仍然作为基于编程语言在互联网上运行的基石。用户需要与静态页面进行交互。页面上所写的内容需要人工改变。随着时间的迁移,一个可以使用户与页面交互语言的和页面根据用户需要改变的这些需求日益增长。
1.2 MVC 模型 1:
网络架构上第一个主要的改变源于MVC模型1架构的介绍。这种架构完全是基于以页面为中心的方法。一个Java Server Pages程序用来控制表示层,业务逻辑层和程序流程。在这一模型中,业务逻辑的概念被提出。业务逻辑是以JavaBean和scripitiets还有表达的形式进行编码。所有的代码都用来编写在JSP页面。 MVC设计模式和Spring,Struts框架英文文献和中文翻译(3):http://www.751com.cn/fanyi/lunwen_39269.html