Font Size: a A A

Jsf Framework And Implementation Of J2ee Web Applications

Posted on:2008-11-02Degree:MasterType:Thesis
Country:ChinaCandidate:Z J WanFull Text:PDF
GTID:2208360242966297Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
In recent years, with the rapid development of network technology, Web application system based on B/S architecture become more and more important. The Java 2 Enterprise Edition (J2EE) platform has the transportability and expansibility and has gradually become a standard platform of developing Web application based on B/S architecture. It's purpose is to lighten the burden of building enterprise Web application completely. Development of Web application based on J2EE can divide into development of presentation logic and development of business logic. Development of business logic can build through JavaBean. Development of presentation logic is difficult for developing Web application based on J2EE. Because the J2EE platform doesn't provide reusable UI component and presentation layer framework, the realization of presentation layer is completed by programming JSP/Servlet and JavaScript. It's an extremely time-consuming work, moreever the code is difficult to reuse and debug.Aimed at the above problems, the thesis uses the development method based on framework. JSF (JavaServer Faces) is the server-side's application framework based on UI component which implements MVC (Model-View-Controller). It's a new technology propagandized by Sun Microsystes and it aims at providing a standard framework to develop user interfaces of Web application. MVC design pattern separates presentation layer and business layer. UI components of JSF are binded by event, converter and validator and can response to events created by client-side. It can improve the efficiency of program development by using UI components of JSF. The thesis studied the structure, the implement principal, the core parts and the standar life-cycle of JSF. JSF framework and Struts framework was compared.The thesis takes Luzhou Beifang Plan Management Information System (PMIS) as an example implement. It was discussed in detail that JSF was applied in PMIS. Aimed at the application of JSF, the thesis points out some extension and insufficiency, and provides the solution. Asynchronous JavaScript and XML (AJAX) is a new client-side technology. In viewof the weakness of JSF in client-side, the thesis introduces the client-side framework------AJAX4JSF in Web application system. It can reduce the loader of server-side and raise the response speed. In developing Web application, it can improve the efficiency of program development and the performance of software and can enhance the expendability, reusability, maintenance and flexibility of Web application system by applying JSF.
Keywords/Search Tags:JSF Framework, J2EE Web Application, MVC Design Pattern, AJAX
PDF Full Text Request
Related items