Object Persistency

Discussions

EJB design: Object Persistency

  1. Object Persistency (1 messages)

    What are the different ways in java to save object in persistence form.
  2. What are the different ways in java to save object in persistence form.

     

    “Persistent” objects will be stored, typically to a database on disk, so that these objects can be reloaded into memory at a later time as needed, possibly after restarting the application. Persistent objects continue to maintain their state and behavior in an application. There are several commonly accepted ways to implement object persistence: 

    1. Manually writing code that maps the objects into a relational database (RDBMS). 
    2. ORM frameworks and/or standard APIs, such as Hibernate, Java Data Objects (JDO), Java Persistence API (JPA), and the Microsoft Entity Framework, that at least partially automate the OR mapping process. 
    3. Object oriented database systems (ODBMS), which can store objects natively, e.g., no mapping code required, and additionally may offer advanced tools for agile development, such as schema evolution. These systems also utilize industry standard APIs like JDO or JPA. 

     

    Thanks,

    Prabudhabharat Bansode