Font Size: a A A

Based On Struts2+Spring Framework

Posted on:2011-03-21Degree:MasterType:Thesis
Country:ChinaCandidate:Q Q FangFull Text:PDF
GTID:2178360302993054Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
Professor of Home Information Management and Distribution System of China University of Geosciences (Beijing) Digital Campus in the subsystem. Former professor of information management and publishing system home page is based on ASP technology, and its code execution efficiency is not high, due to run on IIS server, the security code is not good, and only applies to WindowNT ASP and IIS, portability bad. In addition, China University of Geosciences (Beijing) Digital Campus is in progress, need to build a unified user management, integrated resource management, unified access control system platform. The subject of the demand from these two starting platform in the digital campus system based on the research and implementation and high efficiency, good security, portability and strong professor of home systems.The system in Struts2 and Spring framework based on the integration, the main use in the presentation layer Struts2 tag, page layout and beautification of the main use of DIV and CSS tags; Struts2 of FilterDispatcher and Action in the control layer is responsible for intercepting user requests, scheduling business logic group Jump conditions and control the functions; Spring's JdbcTemplate for access to the database operation. Spring is responsible for the database connection, and at the same time as the container management system used in the Bean, DAO and Service, to achieve a loose coupling between classes.In the process of data migration, on the Spring to connect multiple data sources and techniques for dynamic access to the preliminary discussion, and ThreadLocal solve the thread safety in the application of a simple overview. Using Spring's JdbcTemplate and LobHandler interface on the Lob type of data access, and achieve the image directly saved to the database functions. Spring Struts2 Action on issues of management analysis and research. Use custom Struts2 interceptor system in the common definition of business logic, simplifying the preparation of the system code. Through the data migration, Struts2 in a custom interceptor, Struts2 Chinese garbled, page display, Struts2 custom interceptor, Spring's JdbcTemplate access to the database and on the Lob type field processing and management of Struts2 in Action Spring issues research and implementation, the system has basically met the needs of system design. By System of Struts2 and Spring Framework has a deep understanding of, and gained some technical experience.
Keywords/Search Tags:Professor Homepage, Data Migration, Page Display
PDF Full Text Request
Related items