Companion web site for the book "Introduction to Software Design with Java" by Martin P. Robillard, Springer 2019 and its second edition, 2022.
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.
There are three source folders on this site:
chapter-code
The complete and commented version of the code samples for the first edition of the book;chapter-code-2ndEdition
The complete and commented version of the code samples for the second edition of the book.solutions-code
The complete version of 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:
- Download the JavaFX SDK and unzip it to a desired location;
- Create a new User Library under
Eclipse -> Window -> Preferences -> Java -> Build Path -> User Libraries -> New
- Name it
JavaFX
and include the jars under thelib
folder from your unzipped JavaFX download location.
NEW! You can now view all the chapter code samples with additional on-demand documentation accessible directly from the code. Check out our Cascading Documentation (CasDoc) demo.
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 | Solutions |
2 | Exercises | Solutions |
3 | Exercises | Solutions |
4 | Exercises | Solutions |
5 | Exercises | Solutions |
6 | Exercises | Solutions |
7 | Exercises | Solutions |
8 | Exercises | Solutions |
9 | Exercises | Solutions |
Thanks to Samuel Beaubien, Neil Ernst, and Benjamin Lee 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 |
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-2022