I\'m trying to create a plugin system for my application, and I want to start with something simple. Every plugin should be packed in a .jar file and implement the Sim
Sim
Starting from Java 9 the service providing scanning will be much easier and efficient. No more need for META-INF/services.
META-INF/services
In the interface module declaration declare:
uses com.foo.spi.Service;
And in the provider's module:
provides com.foo.spi.Service with com.bar.ServiceImplementation