On 26.11.2016 12:53, Michał Zegan wrote:
I know that osgi sits on top of jigsaw, but osgi was created when jigsaw did not exist, so it is itself a module system for java that does not need jigsaw. So then it would probably look like a module system on top of another module system... seems weird to me.
That is because jigsaw does not try to be a replacement for OSGI. OSGI for example does normally not do anything for you at compile time. jigsaw on the other hand does not allow you using multiple versions.
What should I do when I would like to write a new application that would be modular? Use jigsaw directly or not?
It depends then on your requirements bye Jochen
