Skip to main content
  • Textbook
  • © 2019

Introduction to Software Design with Java

  • Helps students to learn software design by discovering the experience of the design process, with a focus on object-oriented design, and by using the Java programming language
  • Covers all relevant design topics, including types and interfaces, encapsulation, inheritance, patterns, composition, unit testing, and many more
  • Complemented by three sample applications that capture numerous design decisions, as well as a companion website with additional practice problems

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (9 chapters)

  1. Front Matter

    Pages i-xii
  2. Introduction

    • Martin P. Robillard
    Pages 1-12
  3. Encapsulation

    • Martin P. Robillard
    Pages 13-37
  4. Types and Interfaces

    • Martin P. Robillard
    Pages 39-60
  5. Object State

    • Martin P. Robillard
    Pages 61-90
  6. Unit Testing

    • Martin P. Robillard
    Pages 91-118
  7. Composition

    • Martin P. Robillard
    Pages 119-153
  8. Inheritance

    • Martin P. Robillard
    Pages 155-189
  9. Inversion of Control

    • Martin P. Robillard
    Pages 191-236
  10. Functional Design

    • Martin P. Robillard
    Pages 237-272
  11. Back Matter

    Pages 273-297

About this book

This textbook provides an in-depth introduction to software design, with a focus on object-oriented design, and using the Java programming language. Its goal is to help readers learn software design by discovering the experience of the design process. To this end, a narrative is used that introduces each element of design know-how in context, and explores alternative solutions in that context. The narrative is supported by hundreds of code fragments and design diagrams.


The first chapter is a general introduction to software design. The subsequent chapters cover design concepts and techniques, which are presented as a continuous narrative anchored in specific design problems. The design concepts and techniques covered include effective use of types and interfaces, encapsulation, composition, inheritance, design patterns, unit testing, and many more. A major emphasis is placed on coding and experimentation as a necessary complement to reading the text. To support this aspect of the learning process, a companion website with practice problems is provided, and three sample applications that capture numerous design decisions are included. Guidance on these sample applications is provided in a section called “Code Exploration” at the end of each chapter. Although the Java language is used as a means of conveying design-related ideas, the book’s main goal is to address concepts and techniques that are applicable in a host of technologies.


This book is intended for readers who have a minimum of programming experience and want to move from writing small programs and scripts to tackling the development of larger systems. This audience naturally includes students in university-level computer science and software engineering programs. As the prerequisites to specific computing concepts are kept to a minimum, the content is also accessible to programmers without a primary training in computing. In a similar vein, understanding the code fragments requires only a minimal grasp of the language, such as would be taught in an introductory programming course.

Authors and Affiliations

  • School of Computer Science, McGill University, Montreal, Canada

    Martin P. Robillard

About the author

Martin Robillard is a Professor of Computer Science at McGill University. He has been teaching software design with Java since 2005, and has over two decades of programming experience in Java. His current research focuses on problems related to software evolution, architecture and design, and software reuse. Martin served as the Program Co-Chair for the 20th ACM SIGSOFT International Symposium on the Foundations of Software Engineering (FSE 2012) and the 39th ACM/IEEE International Conference on Software Engineering (ICSE 2017).

Bibliographic Information

Buy it now

Buying options

eBook USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access