Font Size: a A A

Research Of Web Application Based On JSF And EJB3.0

Posted on:2009-08-07Degree:MasterType:Thesis
Country:ChinaCandidate:M T FuFull Text:PDF
GTID:2178360245454841Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the development of the Web technology and the widespread use of platform of the J2EE, the multi-layer web architecture based on B/S pattern matures gradually, a lot of frameworks have been developed for each layer of the Java Web application. Because EJB2.X was very complex, JavaEE5.0 new specification conducted extensive revisions on EJB. JavaEE5.0 specification issued EJB3.0 new specification and developed a persistent specification JPA instead of EntityBean in the previous specification, JSF had officially become a part of the specification.When a developer designs a Web application structure, he must consider how to choose frameworks and how to integrate frameworks in order to each layer mutual cooperated in a loose coupling manner. This thesis designed a Web application structure based on JSF and EJB3.0, the structure provided one-stop solution for enterprise application development from presentation layer to business logic layer and persistence layer. The integration of two frameworks cans very good balance to the development efficiency and maintenance costs, which has highly practical value.Firstly, the thesis studied the Web application multi-layer framework technology. It introduced the JavaEE5.0 specification and the Web application multi-layer architecture. Through comparative analyzed the mainstream Web Application Framework, the thesis put forward the Web application structure based on JSF and EJB3.0.Secondly, the thesis studied in detail JSF and EJB3.0 technology and put forward the various methods of integrating JSF with EJB3.0 to develop a Web application. Through integrated Facelets and AJAX technology, the thesis designed a fully functional Web application structure. In the end, the thesis discussed the advantages of the Web application structure.Finally, the author designed and developed an E-commerce system using the JSF and EJB3.0 integrating structure. In the process of the system's design and development, the author followed the object-oriented thought. The system was designed and developed using the developing method based on the domain model instead of the traditional developing method based on the database. This developing method provided a new idea and method for the development of a efficient and flexible multi-layer system. In addition, the author improved Shopping cart's function and put forward a new method to develop Shopping cart.
Keywords/Search Tags:JavaEE, Framework, JSF, EJB3.0, JPA
PDF Full Text Request
Related items