Font Size: a A A

Research On Object Persistence Based On J2EE

Posted on:2006-01-27Degree:MasterType:Thesis
Country:ChinaCandidate:J YangFull Text:PDF
GTID:2168360152488790Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
In information age, the network annotates all the ideas of the resource-sharing, and has touched the revolution of the new technology of sharing. However, the resource-sharing is actually the sharing of the data. The data are the most direct form of expression of the information resources. In this way, in order to realize the really sharing of resources, in every computer application program, the data must be visited (namely the data must connect with user's interface and be managed according to a series of business rules), and also must be lasting. With the theory, namely "all are objects" put forward by SmallTalk, being in vogue, the data are shown as the object's state, and to require data to be visited and to be lasting has become to require object's instance to be visited and to be lasting. In the system being in the short of the persistence mechanism, one object must be established, then be used, and finally be deleted. At this moment, this object is known as the temporary object, its life cycle is an temporary life cycle. And once the system supports the persistence mechanism, the objects should exist after have being established and used. Thus, such a object becomes the persistent object, and its life cycle is to be persistent. However, with the object persistence realized, certainly should it be that temporary object space and persistent object space whose method is different should appear. And then whether could unite these two objects space on the basis of the persistence realized to enable developers to visit temporary object and persistent object according to the same expression formula grammar or not? For this purpose, this thesis studys and discusses the four kinds of object persistence mechanism based on J2EE platform.Firstly, this thesis sets out from the development course of the system development method, describes relevant concepts of the object and the object persistence and present persistent memory technologies. And then discusses and compares the four kinds of object persistence mechanism successively appeared on J2EE platform, which include the Java object serialization, the Entity Bean, the "Session Bean+JDBC" and the "Session Bean+JDO". Moreover discusses and provesit feasible to apply the JDO to the Struts frame, and put forward a multi-layer system structure model. Finally, this thesis regards development of the Web management information system of Xiamen Gangwan consulting and supervising company as the background, introduces the utilization of the "Session Bean+JDBC" in the development of the Web management information system, shows the practical application of the multi-layer system structure model to apply the JDO to the Struts frame, and proves the model's maneuverability at high altitudes of combination of theory and practice.
Keywords/Search Tags:Object Persistence, J2EE, Object serialization, Entity Bean, JDBC, JDO, Struts frame
PDF Full Text Request
Related items