r/java • u/BinaryRage • Sep 18 '26
Leave the Class Path in the Rearview Mirror
https://netflixtechblog.com/leave-the-class-path-in-the-rearview-mirror-67a85b15b6beIntroducing composable, module system native and agent friendly command line tools for modern Java development.
21
Upvotes
15
u/fablue Sep 18 '26
I cannot tell you why, but I noticed a strong resistance within me when it comes to the module system. I may be because it feels unnatural to me when working within a build system like Gradle.
3
u/marv1234 Sep 19 '26
This looks like the same approach that u/raphw(creator of Bytebuddy) is doing with Jenesis!
2
u/sg-elide Sep 19 '26
I saw this on LinkedIn and immediately fell in love with it. As a (lonely) fan of JPMS, I have often wondered where the missing dependency manager half is: why can’t we just use the project descriptor, you know, for describing the project?
I like the name “ja” too, and the way this tool is adaptable over both SPI and argfile passing.
Zig+CDS is also an interesting launcher strategy. Neat.
2
u/agentoutlier Sep 18 '26 edited Sep 19 '26
The jdocserver being a ToolProvider is pretty cool idea and I'm remiss I didn't think of trying that route when I explored doing something like this.
I'm surprised by things like this that are reminiscent of XDoclet (if you know what that is you are ancient like me):
Like why not make an annotation
@MainClassinstead of an taglet? (I have thought about doing something like this but its not exactly hard to make Maven put this in META-INF).Maybe they don't use annotation processors...
nope I guess they do.
You know I get the feeling a lot of this document was LLM written and wonder how accurate some of the things mentioned are.
EDIT I assume the downvotes are because of the previous comment. First Its really hard for me these days to tell what is LLM or not but why did I think it was weird:
@stuffgot generated in the doc so I didn't know if that was a mistake.0
u/[deleted] Sep 18 '26
[deleted] — view deleted comment