Java Design Building Better Apps And Applets Pdf
Abstract
A well-designed reusable object-oriented software system adheres to two key object-oriented design principles -- i) program to an interface, not an implementation, and ii) favor object composition over class inheritance. Furthermore, the effect of unit testing (especially in the context of test-first or test-driven development) on quality of the resulting object-oriented software is undeniable. Teaching good object-oriented design principles in upper-level undergraduate courses in an effective way is challenging. We believe the use of mock object frameworks can help in teaching these object-oriented design principles in a pragmatic and hands-on manner. Using mock objects and mock object frameworks requires students to not only learn and understand the principles of good object-oriented design, but actively apply them in developing reusable object-oriented designs. This paper describes these broad object-oriented design principles and how to use mock object frameworks to teach object-oriented software design that is based on these principles.
Get full access to this article
Purchase, subscribe or recommend this article to your librarian.
Already a Subscriber?Sign In
References
- }}Astels, D., Test-Driven Development -- A Practical Guide, The Coad Series, Prentice Hall, 2003. Google Scholar
- }}Chaffee, A., Pietri, W., Unit testing with mock objects, IBM developer Works, November 2002. Google Scholar
- }}Coad, P., Mayfield, M, Kern, J, Java Design: Building Better Apps and Applets, Yourdon Press Computing Series, Prentice Hall, 2nd edition, 1999. Google Scholar
- }}EasyMock 2.4 tool, http://easymock.org/. Google Scholar
- }}Fowler, M., Refactoring -- Improving the Design of Existing Code, Addison Wesley, 1999. Google Scholar
- }}Gamma, E., Helm, R., Johnson, R., Vlissides, J., Design Patterns -- Elements of Reusable Object-Oriented Software, Addison Wesley, 1995. Google Scholar
- }}JUnit 4.x unit testing tool, http://junit.org/. Google Scholar
- }}Lieberherr, K., Holland, I., Assuring Good Style for Object-Oriented Programs, IEEE Software, September 1989, pp 38--38. Google Scholar
- }}Meszaros, G., xUnit Test Patterns: Refactoring Test Code, Addison-Wesley, 2007. Google Scholar
- }}Thomas D., Hunt, A., Mock Objects, IEEE Software, May/June 2002. Google Scholar
Index Terms
-
Using mock object frameworks to teach object-oriented design principles
-
Comments
Java Design Building Better Apps And Applets Pdf
Source: https://dl.acm.org/doi/pdf/10.5555/1858449.1858458
Posted by: salinasformselly97.blogspot.com
0 Response to "Java Design Building Better Apps And Applets Pdf"
Post a Comment