There are several ways to implement a plugin system for a Java application. One of the simplest is to use URLClassLoader. The following example will involve a bit of JavaFX code.
Suppose we have a module of a main application. This module is supposed to load plugins in form of Jars from 'plugins' f...