Font Size: a A A

Spring Framework Research And Application

Posted on:2012-11-17Degree:MasterType:Thesis
Country:ChinaCandidate:L XiaoFull Text:PDF
GTID:2218330368486930Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
With the development of JavaEE platform technology, the traditional JavaEE platform based on the EJB architecture is too bulky, which brings about too much unnecessary complexity. In this case, a lightweight, low-invasive JavaEE platform is urgently needed. Spring framework is one of the best representatives, which provides a variety of infrastructure that correspond with the enterprise applications, whose powerful function is built on its core mechanism IoC and AOP.The implementation and application of the two main core mechanisms of spring framework IoC and AOP are represented in this paper, and the following issues are being conducted as follows: first of all, IoC, the main idea of spring framework is studied, and the implementation philosophy of Spring IoC that include the factory pattern, the java reflection and some others are also analyzed; secondly, the idea main of spring framework AOP including the proxy pattern, the java dynamic proxy and the technique of dynamic byte code generation are also analyzed. Lastly a light-weight application project of JavaEE that takes the spring framework as its kernel, and integrates the techniques of Hibernate and Struts is proposed. Then this solution is applied to the design and implementation of the bank compliance risk management system. In this System, the couplings of the modules are reduced by introducing Spring IoC, and crosscutting concerns spread in every module of the system are processed by using Spring AOP, which helps to achieve the goal of segregating the business logical codes and auxiliary codes.At last, the spring framework is extended and a new annotation AOP solution is presented according to the requirements of security and high performance of the bank compliance risk management system in this paper, which can reduce the redundant configure files effectively in contrast with the old ones. After application into the system and an analysis of performance testing it can be proved that this solution can greatly increase the performance of the system, which can exert some important reference value to the application of spring framework in enterprises. The development of bank compliance risk management system has been finished, and it has been put into operation for almost half a year. The main feature of this system is platform-independent and loose coupling. Thus the application of the spring framework can improve the maintainability, scalability, portability of the system as well as the reusability of components.
Keywords/Search Tags:Spring Framework, Inversion of Control, Aspect Oriented Programming, Bank of Compliance Risk Management System
PDF Full Text Request
Related items