| Data Persistence is a heated research area in today's company applications. Data Persistence layer is capable of dealing with the enquiries, storage, update and deletion of the data stored in the database .Nowadays, most of the databases are relational databases whose designs and developments are in an object-oriented approach. Therefore, the project data persistence layer is the key part of the whole system for us to improve the data management efficiency.In this dissertation, a wide exploration and thorough analysis has been made on both the theories and the present application situations of data persistence. Based on the digital campus, the following exploration and research on data persistence will be demonstrated:1,A comprehensive analysis on the basic theories of data persistence is given in this dissertation in order to explain the typical features of data persistence, as well as the requirements of the realization of data persistence.2,Basing on the skill of hibernate, a deep analysis has been made on several modern types of data persistence model, with the result that the framework of Spring+Struts+Hibernate is constructed. Spring+Struts+Hibernate is different from the other models in that it constructed the whole framework with Spring, using the Bean to manage the Struts controller , organize the business objects and model layers, and carry out the database operations in connection with the persistence layer.Both the view layer and layer controller are realized through the Struts framework, and the model layer is indeed can be further divided into data access layer (DAO) and data service layer (Manager). Using the powerful persistence operations which are provided by the Hibernate will realize the persistence layer. The relationship principles between each layer of the whole system should be top-down that is the upper layers can rely on the lower ones, but the lower layers should rely on the other lower ones as less as possible. At the same time, the interaction between each level should depend on the interface, rather than on the realization. Basing on the analysis and experiments, we can find out that not only the data management efficiency but also the development efficiency of the programs has been improved by this hibernate framework, which, after all, is an effective technique. 3,With this data object persistence technology applied on digital campus, a certain amount of success will be achieved. |