Font Size: a A A

Research And Implementation Of Spring Framework Based On Web Application

Posted on:2007-07-06Degree:MasterType:Thesis
Country:ChinaCandidate:J Y ZhangFull Text:PDF
GTID:2178360182983171Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
5With the rapid development of internet, developing the program of server end based on Browser/Server has already become a important part in developing Web applications. Although implement applications using EJB platforms which can satisfy the need for software development, but it will produce massive codes in development period, so the code maintenance work will be difficulty to control in later period.On the base of analysis and study Spring transaction management mechanism, aspect oriented programming and inversion of control, This paper firstly adopt the inversion of control design pattern to resolve the problem of highly dependency between codes in system. From introduce interface and design pattern to decouple codes, improve programs maintainability, and analyze the several different types in Inversion of Control pattern , thus has provided the more solutions for the different programs realization. Next, in view of object oriented programming technology difficult to implement the problem of crosscutting concerns, this paper take advantage of AOP method separates crosscutting multi modules concerns in software, And based on these work bring forward Aspect oriented rebuild method through improve AOP, It will further rebuild those calls into a sole aspect with "extract method calls" rebuild technology.Through analyzes Struts and the Hibernate frame theory and characteristic, this paper bring the thinking of integrate Spring, Struts, Hibernate to implement a three layer Web applications which include presentation layer business layer and persistent layer.As the application of these research, this paper finally use Eclipse tool implements an improved application in the Tomcat container. And use IoC patterndynamic inject dependency with the method of design interface and configuration files, then efficiently decouple the program codes. Utilize AOP method to decompose, encapsulation, recombined Crosscutting concerns in modules to optimize programs, then improve the reuse ability and expansibility.
Keywords/Search Tags:Transaction management, IoC, AOP, Spring, Struts, Hibernate
PDF Full Text Request
Related items