3 Replies Latest reply: Feb 6, 2013 12:02 AM by 866600 RSS

    Difference between EntityObjects and ViewObjects

    866600
      Hi Guys,

      Can you please let me know the difference between Entity Objects and View Objects.


      Regards,
      Srinivas.
        • 1. Re: Difference between EntityObjects and ViewObjects
          user404
          Read this :
          http://docs.oracle.com/cd/B25016_08/doc/dl/web/B14362_02/chapter_bc4j.htm#i1024804
          Especially '3.8.2 Whether to Use Entity Object Definitions '
          • 2. Re: Difference between EntityObjects and ViewObjects
            Santhosh M E
            Hi,

            Entity object :
            An entity object represents a row in a database table and simplifies data modification by handling all Data Manipulation
            Language (DML) operations. It can encapsulate businesslogic for the row to ensure that business rules are consistently enforced.
            A given entity object is associated with others to reflect relationships in the underlying database schemain order to create a layer
            of business domain objects to reuse in multiple applications.

            View object:
            A view object represents a SQL query and simplifies working with the results of that query. The full power of the familiar
            SQL language is used to join, project, filter, sort,and aggregate data into the exact "shape" required by the end-user task at hand.
            Thisi ncludes the ability to link a view object with others to create master/detail hierarchies of any complexity. When end users modify
            data in the user interface, your view objects collaborate with entity objects to consistently validate and save the changes

            thanks,
            Santosh
            • 3. Re: Difference between EntityObjects and ViewObjects
              866600
              Thank You Santosh.


              Thanks&Regars,
              Srinivas.