Business object (computer science)
Encyclopedia : B : BU : BUS : Business object (computer science)
Business objects are objects in an object-oriented computer program that abstract the entities in the domain that the program is written to represent. For example, an order entry program needs to work with concepts such as orders, line items, invoices and so on. Each of these may be represented by a business object.
Business Objects are sometimes called Domain Objects (where the word Domain means the Business), and a Domain Model represents the set of domain objects and the relationships between them.
Good business objects will encapsulate all of the data and behavior associated with the entity that it represents. For example, an order object will have the sole responsibility for loading an order from a database, exposing or modifying any data associated with that order (i.e. order number, the order's customer account), and saving the order back to the database.
Business objects don't necessarily need to represent objects in an actual business (though they often do). They can represent any object related to the domain in which a developer is creating business logic for. The term is used to distinguish between the objects a developer is creating or using related to the domain and all the other types of object he or she may be working with such as user interface widgets and database objects such as tables or rows.
The concept of a business object is closely associated with the Component-based Scalable Logical Architecture (CSLA) developed by Rockford Lhotka.
See also
References
- Rockford Lhotka, Visual Basic 6.0 Business Objects, ISBN 186100107X
- Rockford Lhotka, Expert C# Business Objects, ISBN 1590593448
- Rockford Lhotka, Expert One-on-One Visual Basic .NET Business Objects, ISBN 1590591453
- Erich Gamma, Richard Helm, Ralph Johnson, John Vlissides, Design Patterns, ISBN 0201633612
External link
From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.
