This is the code repository for Java 9 Cookbook, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
This cookbook offers a range of software development examples in simple and straightforward Java 9 code, providing step-by-step resources and time-saving methods to help you solve data problems efficiently. Starting with the installation of Java, each recipe addresses a specific problem, with a discussion that explains the solution and offers insight into how it works.
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
Codes for chapter 2,4,5,6,7,12,15 are placed in the folder "RemainingCodes" as Java package.
The code will look like the following:
module newfeatures{
requires jdk.incubator.httpclient;
}
To run the code examples, you will need a computer with 2GB RAM at least, 10GB free disk space, and Windows or Linux OS. The following software/libraries are required:
- JDK 9 (for all chapters)
- PostgreSQL 9.4 DB (for Chapter 6, Database Programming)
- Junit 4.12 (for Chapter 15, Testing)
- Mockito 2.7.13 (for Chapter 15, Testing)
- Maven 3.5.0 (for Chapter 3, Modular Programming)
- MySQL 5.7.19 DB (for Chapter 10, RESTful Webservices Using Spring Boot)
- Heroku CLI (for Chapter 10, RESTful Webservices Using Spring Boot)
- Docker (for Chapter 10, RESTful Webservices Using Spring Boot)