Build a Spring Boot Application Using Java Modules
This tutorial shows you how to create a multi-module Spring Boot application using Java Platform Module System
Build a Spring Boot Application Using Java Modules
This tutorial shows you how to create a multi-module Spring Boot application using Java Platform Module System
Loic Salou
nice article, thanks. I wonder how Spring data injection and Java modules fit together when it comes to Services. Services and services provider just seem to meet some common goals. I’d say that most likely java modules do not offer as rich injection system mechanism as Spring but is it the ultimate goal ? I don’t think so, looks more like bound to improve encapsulation of a library for example.
Any advice on this topic ? thanks !
Sergio
Is this example really working? I didn’t see how you are adding the beans to the Spring context. I guess you need to explicitly declare those beans in the module that loads the context.