| Before we start any discussion about Persistence | | | | Apart from Hibernate, other popular open source |
| technologies, we need to understand what | | | | Java persistence technologies include JDBC, |
| exactly Persistence is in computer science. | | | | abates, JDO, Top Link and CMP Entity Beans. |
| Persistence, in simple terms is the ability to retain | | | | These technologies provide a standardized |
| data structures between various program | | | | object-relational mapping mechanism. |
| executions. A perfect example of this would be a | | | | Java persistence application programming |
| word processor saving undo history. In practice, | | | | Interface or JAVA Persistence API is the latest |
| this is achieved by storing the data in non- volatile | | | | version of the Java Data Objects (JDO) |
| storage such as a file system or a relational | | | | technology which was the earlier persistent |
| database or an object database. | | | | technology used by developers. JPA or the Java |
| The popularity of databases has increased | | | | Persistence API is the latest Java Specification |
| manifold in the past few years. Java has become | | | | standard for java enterprise applications. The Java |
| the preferred choice of developers for developing | | | | Persistence API is a java programming language |
| secure, flexible, and scalable database driven web | | | | framework that allows developers to manage |
| applications. These web applications require | | | | relational data in Java standard edition and |
| objects to be associated with appropriate | | | | Enterprise Edition applications. Java Persistence API |
| databases. Hibernate, along with other persistence | | | | originated as part of the work of the JSR 220 |
| technologies associate’s objects with the | | | | expert group. |
| appropriate database in a simple, straight forward | | | | The java persistence API’s has been |
| and natural way. | | | | developed after drawing upon the best ideas |
| Hibernate is one such effort from the Java | | | | from other prevalent persistence technologies like |
| community to develop many object oriented | | | | Top link, JDO, Hibernate etc. In simple words, Java |
| solutions to data persistence. Any kind of Java | | | | Persistence API is a Plain Old Java Object API for |
| persistence solution includes two main elements i.e. | | | | object /relational mapping and supports a rich, |
| ORM (Object Relational Mapping) and OOM | | | | SQL –like query language for both static and |
| (Object Oriented Modeling). | | | | dynamic queries. |
| Hibernate has become immensely popular | | | | Vendors involved in application development have |
| amongst the developer community as it is a free, | | | | found that the use of Hibernate technology with |
| powerful, high performance open source object - | | | | Java persistence API’s helps build flexible, |
| relational mapping persistence Java package that | | | | database driven web applications that are highly |
| makes it easier to work with relational databases | | | | scalable and involve complex business processes. |
| for Java Applications. | | | | |