r/java • • Apr 20 '21

Java is criminally underhyped

https://jackson.sh/posts/2021-04-java-underrated/
291 Upvotes

295 comments sorted by

View all comments

Show parent comments

1

u/deadron Apr 21 '21

I don't really get why you would use jbang for anything. If I am producing a runnable application I can produce an executable jar already. I just don't understand what the benefit is to it instead of using an existing build tool.

As I understand graalvm still is not compatible with everything. It also doesn't really seem popular with real world developers even though it's being pushed everywhere on reddit. Probably because none of us can use it with any of our existing applications due to said incompatibilities. For example spring is still incompatible.

2

u/maxandersen Apr 21 '21

oh and you don't need spring to write utilities - lots of valid alternatives for that use-case.

1

u/deadron Apr 21 '21

This is true. However the applications small enough to not need a framework often don't matter enough to even do basic optimization in a business environment. If you are producing reusable CLI tools for end users this may be different though.

2

u/maxandersen Apr 21 '21

Yes and thus far I've been fine not using Spring for years so I can confirm it is not required :)

→ More replies (3)