Enhancing Reusability and Simplifying the OO Development with the Use of Events and Object Environment
Object-oriented(OO) software development enhances reusability. But reuse and object composition are not straightforward. Only compatible components, which conform to the same client-server protocol, can be composed. In this paper we propose an event-driven approach to OO software development which enhances reusability by increasing the openness of objects and provides a simple composition principle. It bases on concepts of events and object environment. Object environment serves as a mediator among independent objects. It consists of agents that monitor and respond to object notifications of events that occur through the life-cycle of each object. Events enhance object openness and so reusability and allow uncoupled programming style. Uncoupled programming style together with a simple composition principle provided by the use of the object environment allow easy production of powerful building blocks and simple construction of the complex software from powerful building blocks.
KeywordsSoftware Development Object Environment Instance Method Software Community Event Message
Unable to display preview. Download preview PDF.
- 1.B. Henderson-Sellers, J. M. Edwards, “The object oriented system life-cycle”, Communication on the ACM, vol 33, no. 9, Sept. 1990.Google Scholar
- 3.R. Wirfs-Broock, Object-Oriented Design: A Responsibility-Driven Approach“, OOPSLA’89 Proceedings, 71–75 (1989).Google Scholar
- 4.R. Wirfs-Brock, B. Wilkerson, L. Wiener, “Designing Object Oriented Software”, Prentice Hall, 1990.Google Scholar
- 5.R. Helm, I.M. Holland, D. Gangopadhyay, “Contracts: Specifying Behavioral Compositions in Object-Oriented Systems”, ECOOP/OPSLA’90 Proceedings, October, 1990, pp. 169–180.Google Scholar
- 8.G. Booch, Object-Oriented Design, The Benjamin Cummings Publishing Company Inc., (1991).Google Scholar
- 9.P. Coad, E. Yourdon: Object-Oriented Analysis, Yourdon Press, Prentice Hall, 1990.Google Scholar
- 11.W. LaLonde, J. Pugh: Designing is Hard: Object-Oriented Software Is Different!, Journal on Object Oriented Programming, March/April 1989, 46–55 (1989).Google Scholar
- 12.D. Teanzer, M. Ganti, S. Padar, “Object-oriented Software Reuse: The Yoyo Problem”, Journal on Object Oriented Programming, Sept./Oct. 1989, 30–35 (1989).Google Scholar