Font Size: a A A

Research And Realization Of Web Application Based On JSF And Hibernate

Posted on:2009-05-15Degree:MasterType:Thesis
Country:ChinaCandidate:J F JuFull Text:PDF
GTID:2178360245955380Subject:Signal and Information Processing
Abstract/Summary:PDF Full Text Request
With the development of Internet and enterprise information construction, the requirement of Web-based application systems have become more complex, the development cycle is increasingly shorter. System scalability, maintainability, stability and alternation have become more sophisticate. But every distinct case in fact usually needs a distinct settlement, which means too heavy price of time and money to meet the information-based request for an enterprise. For efficiency, catholicity, safety, and practicability, a better design pattern and a reusable system framework are imperative to wok as a universal template in exploitation of web-based systems. The design mode describes all-purpose, simple and reusable solving plan's core, and understanding correctly and applying design mode will get twice the result with half the effort basing on JAVAEE system's applying systemic development.After investigations of current n-tier systems as well as the JSF design framework and the Hibernate framework, a new n-tier framework to build web-based system is brought up in this paper based on the MVC pattern theory. In the development of system, JSF makes the different roles of View-tier and Business logic tier, one is modified but don't effort the other, in order to increase the efficiency of System development. To Hibernate, it is an ORM tool for java environment. It manages the mapping from java classes to database tables and the operation of persistent objects. ORM of Hibernate can mapping one object to many tables, can mapping several types of associations and class inheritance. Hibernate query language realized polymorphic association query and dynamic query.Firstly, this paper has a sample introduction of MVC and JAVAEE design pattern, and bases on that, it has the in-depth analysis for JSF framework and Hibernate framework. A web application integration framework model based on JSF and Hibernate has been advanced. The focus is UI components, event Model and database mapping of the integration framework have been analysed, its solution have been given. Finally, the Web part of DesignAnyWhere system as an example, this paper discussed the application of JSF and Hibernate integration framework in the system. Practice shows that the application of JSF and Hibernate framework can improve the efficiency of Web systems development, while meeting system scalability,maintainability and high alternation requirements.
Keywords/Search Tags:JAVA EE, MVC Design Pattern, JSF, Hibernate
PDF Full Text Request
Related items