Skip to content

prmr/DesignBook

Repository files navigation

Introduction to Software Design with Java

Companion web site for the book "Introduction to Software Design with Java" by Martin P. Robillard, Springer 2019 and its second edition, 2022.

NEW! The third edition of the book is now in production, with publication expected in January 2026. It improves the presentation of numerous topics and provides a thoroughly revised set of code fragments that incorporate the latest features of the language (such as records and the latests APIs) and follow a more effective style. The diagrams are now included as vector graphics and follow the UML standard more closely.

Interactive Code Samples

You can now view all the chapter code samples with additional on-demand documentation accessible directly from the code. Check out the CodeSample.info website.

Screenshot of a page on CodeSample.info

Source Code

There are three source folders on this site:

  • code-e1 The complete and commented version of the code samples for the first edition of the book;
  • code-e2 The complete and commented version of the code samples for the second edition of the book.
  • code-e3 The complete and commented version of the code samples for the third edition of the book.
  • solutions-code The code file for selected exercises. The code files are referenced from the appropriate solutions pages.

Although you can browse the code on GitHub, the recommended way to peruse the code samples is to clone the repository. The repository includes the configurations files necessary to build the code automatically in Eclipse. However, because some code relies on the JavaFX library, you also need to:

  1. Download the JavaFX SDK and unzip it to a desired location;
  2. Create a new User Library under Eclipse -> Window -> Preferences -> Java -> Build Path -> User Libraries -> New
  3. Name it JavaFX and include the jars under the lib folder from your unzipped JavaFX download location.

Practice Exercises

The exercises are meant to be completed in order, after studying each chapter. Exercises tagged with a star (:star:) are challenging and those tagged with a magnifying glass (:mag:) are based on the exploration of the sample applications.

Chapter Exercises Solutions
1 Exercises On the exercise page.
2 Exercises On the exercise page.
3 Exercises Solutions
4 Exercises Solutions
5 Exercises Solutions
6 Exercises Solutions
7 Exercises Solutions
8 Exercises Solutions
9 Exercises Solutions

Errata

Check the Errata for clarifications and corrections. If you spot a problem that is not listed, please check the issues and open a new one if the problem has not yet been reported.

Acknowledgements

Thanks to Samuel Beaubien, Hüdanur Çelik, Neil Ernst, Benjamin Lee, Christian Joudrey, and joshuamanascu for flagging errors via this site.

A special thanks to the software design educators who have adopted the book to support their teaching. To be included in the list, please fill in this form.

Name Institution Course
Jin Guo McGill University Software Design
Neil Ernst University of Victoria Object-Oriented Design
Kostadin Damevski Virginia Commonwealth University Software Engineering: Design and Implementation
Mattia Monga Università Degli Studi Di Milano Computer Programming II
Carlo Nicola Maria Bellettini Università Degli Studi Di Milano Computer Programming II
Alberto Bacchelli University of Zurich Software Construction
Gerardo Canfora University of Sannio Software Engineering
Ivano Malavolta Vrije Universiteit Amsterdam Software Design
Istvan David McMaster University Introduction to Software Development
Ghizlane El Boussaidi École de Technologie Supérieure Conception orientée objet

License

Creative Commons License

Unless otherwise noted, the content of this repository is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

Copyright Martin P. Robillard 2019-2025

About

Companion repository for the book "Introduction to Software Design with Java"

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages