Font Size: a A A

Ajax Components Based On Jsf Development And Applications

Posted on:2010-01-02Degree:MasterType:Thesis
Country:ChinaCandidate:S PengFull Text:PDF
GTID:2208360278470696Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
In view of the problem that the interactive capability of Web interface is not strong and its development efficiency is not high, a solution of building Web interface through developing JSF-based Ajax components was presented. JSF is a component-based Web interface development framework, its key is to construct Web interface by using reusable and extensible user interface components, which is conducive to enhance the efficiency of the development of Web interfaces, and Ajax is a client browser technology to improve the interactive capability of Web pages. The mentioned above problem can be settled through integrating the two technologies.Through analyzing the work principle, work pattern and the advantages and disadvantages of JSF and Ajax respectively, this paper discussed the possibility of combining the two technologies, summarized three combining schemes and designed a instance of Ajax component for each scheme: Captcha component, Ajax enabled component and the online editor component. Captcha component completes the verification code switch by using Servlet directly, without affecting other components in the page. Ajax-enabled component can easily let other ordinary JSF components of this page possess the capability to handle Ajax event, and due to using Ajax request processing life-cycle object to handle Ajax request, developer can make greater use of a variety of facilities provided by JSF to develop Ajax component rapidly. The online editor component was constructed through the combination of various existing components or elements with a great deal of functions such as online editing, layout, uploading image, entering mathematical formulas, and so on. In addition, in order to facilitate the practical use of these components, the package mechanism of the component was discussed, and a new solution was proposed especially for the package of resource file in the component. Test cases and practical applications show that the desired objective can be achieved by using these components. Finally, through the comprehensive use of JSF, Spring and Hibernate, a practical system - online papers guidance systems was designed and implemented to illuminate the practical application of Ajax components in Web interface development.
Keywords/Search Tags:Ajax, JSF, user interface, component
PDF Full Text Request
Related items