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:
“Man you can define; but the true essence of any man, say, for instance, of Abraham Lincoln, remains the endlessly elusive and mysterious object of the biographers interest, of the historians comments, of popular legend, and of patriotic devotion.”
—Josiah Royce (18551916)
“God sent children for another purpose than merely to keep up the raceto enlarge our hears; and to make us unselfish and full of kindly sympathies and affections; to give our souls higher aims; to call out all our faculties to extended enterprise and exertion; and to bring round our firesides bright faces, happy smiles, and loving, tender hearts.”
—Mary Botham Howitt (20th century)
“If thinking is like perceiving, it must be either a process in which the soul is acted upon by what is capable of being thought, or a process different from but analogous to that. The thinking part of the soul must therefore be, while impassable, capable of receiving the form of an object; that is, must be potentially identical in character with its object without being the object. Mind must be related to what is thinkable, as sense is to what is sensible.”
—Aristotle (384322 B.C.)