70 likes | 278 Views
Object-Oriented Application Frameworks. CS 3331 Fall 2009. What’s a Framework?. A set of cooperating (abstract) classes and interface that: Represent reusable designs of software systems in a particular application domain,
E N D
Object-Oriented Application Frameworks CS 3331 Fall 2009
What’s a Framework? • A set of cooperating (abstract) classes and interface that: • Represent reusable designs of software systems in a particular application domain, • Provide semi-complete applications that can be specialized to produce custom applications, and • Defines conventions for extending the abstract classes, implementing the interfaces, and allowing their instances to interact with one another
Examples • Small frameworks • Applets, AnimationApplet, DBAnimationApplet, etc. • GUI frameworks • AWT and Swing • MFC • Distributed programming frameworks • RMI • J2EE • CORBA
Why Frameworks? • Main goal is: • To support reuse of design and implementations in particular application domains • Benefits • Quick and easy application development • Reliable application (i.e., high confidence) • Standardized applications
Characteristics • Extensibility • Inversion of control • Design patterns as building blocks
Questions • How frameworks differ from conventional OO libraries? • How frameworks differ from design patterns?
Frameworks To Be Discussed • GUI frameworks (AWT and Swing) • Collection classes • Input and output classes