Play With Java ServiceLoader forget about Dependency Injection(DI) Frameworks
Reading Time: 2 minutes In most of the applications we are using Dependency Injection for loosely couple of our code. Some time, we just require simple DI, nothing else, for those, we need to include some of our DI frameworks like Spring, Google Guice etc. This makes our project jar heavy and added some unnecessary classes as well. For all these, Java itself have a ServiceLoader class for inject Continue Reading