August 2017
Beginner
298 pages
7h 26m
English
We've seen how Java did not have an option for reliable configuration up until Java 9. You could add or remove certain classes and JARs from the classpath before running and the application would still execute (or at least, starts executing)! There are some utility libraries and frameworks in Java that have made good use of this flexibility.
Consider the Spring Framework. Spring is a popular application framework that uses and orchestrates functionality across a lot of other dependent libraries and frameworks by scanning the classpath for available libraries that it can work with. If you'd like Spring to use some of these supported libraries, just dropping certain necessary jars into the classpath is enough ...
Read now
Unlock full access