菜单
  

    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. 酸性水汽提装置总汽提塔设计+CAD图纸

  11. 当代大学生慈善意识研究+文献综述

  12. 河岸冲刷和泥沙淤积的监测国内外研究现状

  13. 中考体育项目与体育教学合理结合的研究

  14. 大众媒体对公共政策制定的影响

  15. java+mysql车辆管理系统的设计+源代码

  16. 杂拟谷盗体内共生菌沃尔...

  17. 乳业同业并购式全产业链...

  

About

751论文网手机版...

主页:http://www.751com.cn

关闭返回