Abhinav Sonkar
Feb 20, 2024

--

Thanks Martin! Indeed I am working on the third blog that will use Hexagonal architecture. It would be coming soon.

The jMolecules verification test is used to test the internal structure of a module/package. In this case, I am using layered architecture for the Borrow module and verify it with jMolecules.

The Spring Modulith test on the other hand is focused on the relationship between modules. It checks for cyclic dependencies, invalid access to module internals etc. What structure you follow within the module is up to you. If Modulith starts interfering with internal module structure, then it will be going beyond its scope.

--

--

Abhinav Sonkar
Abhinav Sonkar

No responses yet