菜单
  

    II. APPLYING ARCHITECTURE WITH MULTIPLE FRAMEWORKS
    Web and Internet is ever growing area and the demands for the applications are growing. A single framework is not capable to handle the architecture of the application. To meet the currents requirement of the applications it’s necessary to design a architecture to implement the frameworks. Struts framework have been designed and developed for the front end control of the web applications. It provides the various features for the applications that interact to the users. It also follows the MVC 2 design features. Spring Framework is the designed to handle the various tasks. The spring work for the desktop and internet based applications also. It follows the principals of the MVC 2. The simultaneous use of the Struts and spring frameworks in the single application with the applying the MVC Design principals so that we can Improve the performance of the Applications. Struts Framework consists of three major blocks, Described in brief as follows. First is The View Block which controls the presentation part of the complete model. This contains following JSP files which you write for your specific application Second Block is representing the Controller. This is for navigation the complete application. This contains XML configuration files; it contains the tags for the navigation of the paths. Third Block is the Model. This part do the work of the Business Logic, Fetching and storing data to the database
    MVC in Struts
    The major three parts of the MVC are as follows in the spring framework. Servlet controller (Controller Part) Java Server Pages or any other presentation technology (View Part) Application Business Logic: in the form of whatever suits the application (Model Part).
    Spring Components.
    In the spring we also follows the principals of the MVC . Spring consist of three core collaborating components.
    1. Controller: Handles navigation logic and interacts with the Service tier for business logic
    2. Model: The contract between the Controller and the View Contains the data needed to render the View Populated by the Controller
    3. View: Renders the response to the request Pulls data from the model.
    Core components in the spring MVC are as follows.
    1.DispatcherServlet: Spring’s Front Controller implementation. It is the first controller which interacts to the requests. We can also say it is an implementation of the Servlet. It controls the complete flow of the application.
    2. Controller: User created component for handling requests encapsulates navigation logic delegates to the service objects for business logic.
    3. View: Responsible for rendering output. Different views can be selected for the different types of output bases on the results and the viewing device, communication devices.
    4. ModelAndView: ModelAndView is the core part of the spring framework. It implements the business logic of the application. It is controlled by the controller. It stores the business logic and the view associated with it. Whenever it is executed it will the data with the name of the view.
    5. ViewResolver: How the output is to be displayed depends on the result received from ModelAndView. It is used to map logical view names to actual view implementations. This part identifies and implement what is the output media and how to display it.
    6. HandlerMapping: Strategy interface used by DispatcherServlet for mapping incoming requests to inpidual Controllers. It identifies the request and calls the respective handler to provide the services. In this the dispatcher Servlet is the entry point for the application. The Struts parts do it’s work and send the request to the dispatcher Servlet. The Servlet decides the handler. Then it will call to the controller. Controller will execute the ModelAndView.
    III. PROPOSED METHODOLOGY
    This approach is based a combination of applying the two framework struts and spring for the application development. The sequence diagram for the combined application is explained as above, which is the main driving force for the application. This approach assumes that basic knowledge of web applications is essential. We have tested the above concepts and find out it successfully. Major benefits of the above architecture are as follows.
  1. 上一篇:JavaScript的创造力英文文献和中文翻译
  2. 下一篇:酒店业的管理创新英文文献和中文翻译
  1. 汽车内燃机连杆载荷和应...

  2. 机械手系统英文文献和中文翻译

  3. 固体氧化物燃料电池英文文献和中文翻译

  4. 船舶运动仿真系统英文文献和中文翻译

  5. 新能源空调系统设计英文文献和中文翻译

  6. 正交试验回归法和响应曲...

  7. 机械设计制造及其自动化英文文献和中文翻译

  8. 浅析中国古代宗法制度

  9. 中国传统元素在游戏角色...

  10. g-C3N4光催化剂的制备和光催化性能研究

  11. 巴金《激流三部曲》高觉新的悲剧命运

  12. C++最短路径算法研究和程序设计

  13. 上市公司股权结构对经营绩效的影响研究

  14. 现代简约美式风格在室内家装中的运用

  15. 高警觉工作人群的元情绪...

  16. NFC协议物理层的软件实现+文献综述

  17. 江苏省某高中学生体质现状的调查研究

  

About

优尔论文网手机版...

主页:http://www.youerw.com

关闭返回