Header Ads

  • Breaking Now

    How is JDO(Java Data Object) different from VO(Value Object) ?

    JDO is
    - a persistence technology
    -allows you to create POJOs (plain old java objects) and persist them to the database
    .
    Value objects
    -usually referred as data holders but the correct term is DTO:
    -represent an abstract design pattern used in conjunction with entity beans, JDBC, and possibly even JDO to overcome commonly found isolation and transactional problems in enterprise apps.
    - do not allow you to persist objects - they are simple data holders used to transfer data from the database to the client and back to the database.

    Post Top Ad

    Post Bottom Ad