6.1.Object-Oriented Database Accesshibernate

6.1.Object-Oriented Database Accesshibernate - Web...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Web Application Engineering: Object-oriented database access Service Oriented Computing Group, CSE, UNSW April 7, 2011 References used for the Lecture Notes: (Hibernate) Hibernate In Action, Christian Bauer and Gavin King, Manning Publications (HibernateDOC) http://www.hibernate.org/hib docs/reference/en/html/ Acknowledgement: Notes prepared by Dr. Helen Paik, CSE, UNSW H. Paik, S. Venugopal (CSE, UNSW) COMP9321, 11s1 April 7, 2011 1 / 53 Persistence in object-oriented applications (Hibernate, pp.5-29) Persistence is a fundamental concept in application development. In an object-oriented applications, persistence allows an object to outlive the process that created it The state of the object may be stored to disk and an object with the same state re-created at some point in the future Sometimes entire graphs of interconnected objects may be made persistent and later re-created in a new process Not all objects are persistent - some (transient objects) will have a limited lifetime that is bounded by the life of the process that instantiated it Almost all Java applications contain a mix of persistent and transient objects This means we need a subsystem that manages our persistent objects H. Paik, S. Venugopal (CSE, UNSW) COMP9321, 11s1 April 7, 2011 2 / 53 Persistence in object-oriented applications (Hibernate, pp.5-29) Persistence is a fundamental concept in application development. In an object-oriented applications, persistence allows an object to outlive the process that created it The state of the object may be stored to disk and an object with the same state re-created at some point in the future Sometimes entire graphs of interconnected objects may be made persistent and later re-created in a new process Not all objects are persistent - some (transient objects) will have a limited lifetime that is bounded by the life of the process that instantiated it Almost all Java applications contain a mix of persistent and transient objects This means we need a subsystem that manages our persistent objects H. Paik, S. Venugopal (CSE, UNSW) COMP9321, 11s1 April 7, 2011 2 / 53 Persistence in object-oriented applications (Hibernate, pp.5-29) Persistence is a fundamental concept in application development. In an object-oriented applications, persistence allows an object to outlive the process that created it The state of the object may be stored to disk and an object with the same state re-created at some point in the future Sometimes entire graphs of interconnected objects may be made persistent and later re-created in a new process Not all objects are persistent - some (transient objects) will have a limited lifetime that is bounded by the life of the process that instantiated it Almost all Java applications contain a mix of persistent and transient objects This means we need a subsystem that manages our persistent objects H. Paik, S. Venugopal (CSE, UNSW) COMP9321, 11s1 April 7, 2011 2 / 53 Persistence in object-oriented applications (Hibernate, pp.5-29)(Hibernate, pp....
View Full Document

Page1 / 57

6.1.Object-Oriented Database Accesshibernate - Web...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online