Font Size: a A A

Research And Implementation Of Gold Exchange System Based On Multi-Framework

Posted on:2009-06-04Degree:MasterType:Thesis
Country:ChinaCandidate:D L YinFull Text:PDF
GTID:2178360242974414Subject:Management Science and Engineering
Abstract/Summary:PDF Full Text Request
In recent years, the huge emergence of new J2EE Web application frameworks brings a lot of opportunities for the software engineers to learn and use them, but it also brings the biggest chanllenge: how to choose frameworks from those new emerging ones and combinate them to develop scalable, and highly reusabile, and easily maintainable and manageable Web application system to meet the complicated and ever-changing requires of the market.In view of the above problems, plenty of research about Struts, Spring, Hibernate and other popular Java frameworks is done in this thesis ,meanwhile, some insightful analysis is proposed as follow: Struts realizes MVC model and successfully separates the business logic tier form view tier and consequently, the code structure is coherent, easy to maintain, but it does little thing to business logic processing; Spring is business tier framework, of which the responsibilities is clearly defined and the separation between business logic and data saving is achieved. Obviousely, it is more clear, easy to maintain and can reduce a amount of redundant code, however, the shortcoming is that it embodies at every layer but unsophisticated (not as good as Struts at view tier); Hibernate is an independent technology at persistence layer, and wraps the database with an object-oriented coat. As a result, all of database operation is handed over to Hibernate to deal with and the programmers do not have to write tedious SQL statements any longer. From the above analysis, it is safe to say that the integration among Struts, pring and Hibernate is an inevitable trend and it was also the focus of this paper.In the course of integration, Struts framework works as a skeleton, considering its fuction of components loading and inserting dynamically, and Spring framework is inserted into Struts framework as plug-ins; since the transaction management of Spring is based on container, and also provide the support for Hibernate Integration, we can leave Hibernate to the Spring container to manage. By organic integration, Struts can centre on process controlling and pages navigating without having to concern business logic; Spring can play more important roles in transaction management and dependency injection without fear of its deficiency in process controlling; Hibernate can provide convenient and earsy achievements for persistence layer. The integrated framework, apparently, is a loosely coupled, structure-clear, conveniently transplantable, easily maintenable and manageable Web application framework. Finally, with the practical projects-Shanghai Gold Exchange system, the advantages and feasibility of this integrated framework are testified.
Keywords/Search Tags:Struts, Spring, Hibernate, Multi-Framework, J2EE
PDF Full Text Request
Related items