What Is An Enterprise Object (EO)?
An Enterprise Object is analogous to what is often known in object-oriented programming as a business object — a class which models a physical or conceptual object in the business domain (e.g. a customer, an order, an item, etc.). What makes an EO different from other objects is that its instance data maps to a data store. Typically, an enterprise object contains key-value pairs that represent a row in a relational database. The key is basically the column name, and the value is what was in that row in the database. So it can be said that an EO's properties persist beyond the life of any particular running application.
More precisely, an Enterprise Object is an instance of a class that implements the com.webobjects.eocontrol.EOEnterpriseObject interface.
An Enterprise Object has a corresponding model (called an EOModel) that defines the mapping between the class's object model and the database schema. However, an enterprise object doesn't explicitly know about its model. This level of abstraction means that database vendors can be switched without it affecting the developer's code. This gives Enterprise Objects a high degree of reusability.
Read more about this topic: Enterprise Objects Framework
Famous quotes containing the words object (eo)?, enterprise and/or object:
“Thy hatred for this misery befallen;
On me already lost, me than thyself
More miserable. Both have sinned, but thou
Against God only; I against God and thee,
And to the place of judgment will return,
There with my cries importune Heaven, that all
The sentence, from thy head removed, may light
On me, sole cause to thee of all this woe,
Me, me only, just object of his ire.”
—John Milton (16081674)
“Socialism proposes no adequate substitute for the motive of enlightened selfishness that to-day is at the basis of all human labor and effort, enterprise and new activity.”
—William Howard Taft (18571930)
“America has always been a country of amateurs where the professional, that is to say, the man who claims authority as a member of an élite which knows the law in some field or other, is an object of distrust and resentment.”
—W.H. (Wystan Hugh)