banner



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

  1. }}Astels, D., Test-Driven Development -- A Practical Guide, The Coad Series, Prentice Hall, 2003. Google Scholar Google Scholar
  2. }}Chaffee, A., Pietri, W., Unit testing with mock objects, IBM developer Works, November 2002. Google Scholar Google Scholar
  3. }}Coad, P., Mayfield, M, Kern, J, Java Design: Building Better Apps and Applets, Yourdon Press Computing Series, Prentice Hall, 2nd edition, 1999. Google Scholar Google Scholar
  4. }}EasyMock 2.4 tool, http://easymock.org/. Google Scholar Google Scholar
  5. }}Fowler, M., Refactoring -- Improving the Design of Existing Code, Addison Wesley, 1999. Google Scholar Google Scholar
  6. }}Gamma, E., Helm, R., Johnson, R., Vlissides, J., Design Patterns -- Elements of Reusable Object-Oriented Software, Addison Wesley, 1995. Google Scholar Google Scholar
  7. }}JUnit 4.x unit testing tool, http://junit.org/. Google Scholar Google Scholar
  8. }}Lieberherr, K., Holland, I., Assuring Good Style for Object-Oriented Programs, IEEE Software, September 1989, pp 38--38. Google Scholar Google Scholar
  9. }}Meszaros, G., xUnit Test Patterns: Refactoring Test Code, Addison-Wesley, 2007. Google Scholar Google Scholar
  10. }}Thomas D., Hunt, A., Mock Objects, IEEE Software, May/June 2002. Google Scholar Google Scholar

Index Terms

  1. 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

    Iklan Atas Artikel

    Iklan Tengah Artikel 1

    Iklan Tengah Artikel 2

    Iklan Bawah Artikel