Getting started with the JBCP calendar sample code
As we described in Chapter 1, Anatomy of an Unsafe Application, we have assumed that you have installed Java 17
as a minimum. You can download a JDK from Oracle’s website (https://www.oracle.com/java/technologies/downloads/) or use any other OpenJDK version 17.
Upon the publication of this book, all the code has been validated with Java 21
, the most recent Long-Term Support (LTS) version.
The upcoming section discusses the structure of sample code and its utilization within your preferred IDE.
Sample code structure
The sample code contains folders of a multimodule Gradle
or Maven
project. Each folder is named ChapterNN
, where NN
is the chapter number
. Each ChapterNN
folder has additional folders containing each milestone project with the format chapterNN.mm-calendar
, where NN
is the chapter number
and mm
is the milestone
within that chapter.
For simplicity, we recommend that you extract the source to a path that...