By a module I mean a well bounded segment of code that has an interface across which implementation details do not leak.
It is almost possible to create modules in Java, some of the JAIN JSRs come close, having a factory class creating object that implement interfaces that make up the rest of the module interface.
There is however no way in Java to mark the factory and interfaces as belonging to the module. Nor is there a standard way of versioning a module (except as part of a Jar). Nor is there a standard way of creating a Service Provider Interface (spi).
All these things are almost there as conventions, but there is no specific language support, or even much library support of modules