Ask HN: Using Java for a web application in 2023
21–30 of 69 posts
Re: Ask HN: Using Java for a web application in 2023
#22I highly recommend either Grails, Spring Boot or Micronaut. There are several others, but they lack documentation, has confusing documentation or is over-engineered. Of these 3, Grails is convention over configuration, and the two others configuration over convention. Micronaut is the most performant and use least memory. Grails has GSP templates, while Spring Boot and Micronaut supports several, but I prefer either…
Re: Ask HN: Using Java for a web application in 2023
#23Java web applications I’d describe as “boring technology” if you want typical rest applications with SPA frontend or a full stack server side rendered (SSR) app. By boring I mean it works with little fuss or churn. Depending on your scale/budget they’re a bit more expensive to host due to JVM memory requirements but performance is good. Not a Java issue but a issue if you choose a language other than JavaScript for t…
For web apps, why use two languages if you can get away with only one? unfortunately, is hard to beat JS/TS here.
The deeper question is how often you actually benefit from code reuse. There are certainly some areas where you can share things but you also run into a lot of coordination concerns because the environment for JS in a browser is not the same as in Node, which increases the friction of sharing, and a large chunk of the benefits are things like data validation which can also be substantially eased with things like JSON Schema. Simplifying those test matrices and formalizing your boundaries has more value than I tend to assume at first.
Re: Ask HN: Using Java for a web application in 2023
#24Java web applications I’d describe as “boring technology” if you want typical rest applications with SPA frontend or a full stack server side rendered (SSR) app. By boring I mean it works with little fuss or churn. Depending on your scale/budget they’re a bit more expensive to host due to JVM memory requirements but performance is good. Not a Java issue but a issue if you choose a language other than JavaScript for t…
For web apps, why use two languages if you can get away with only one? unfortunately, is hard to beat JS/TS here.
Re: Ask HN: Using Java for a web application in 2023
#25Re: Ask HN: Using Java for a web application in 2023
#26Honestly hacker news is the wrong place to ask questions about Java. There is lots of biased opinions with little experience using Java.
As such I can safely say that anyone that thinks Java is good to use for anything these days, especially with things like Log4Shell, simply doesn't know enough about computer science. Java is a poorly designed language with corporate bullshit throughout, and while it may have been an option in the past given alternatives, is no longer the case.
Python, Rust, C/C++, Golang, and Javascript (and derivatives) cover pretty much every application category in terms of applicability.
Re: Ask HN: Using Java for a web application in 2023
#27Re: Ask HN: Using Java for a web application in 2023
#28Honestly hacker news is the wrong place to ask questions about Java. There is lots of biased opinions with little experience using Java.
I have lots of experience in using Java (Amazon SDE), writing quite a few web services and applications with it, including front end with JSF. As such I can safely say that anyone that thinks Java is good to use for anything these days, especially with things like Log4Shell, simply doesn't know enough about computer science. Java is a poorly designed language with corporate bullshit throughout, and while it may have…
Re: Ask HN: Using Java for a web application in 2023
#29Earlier quoted context omitted.
I have lots of experience in using Java (Amazon SDE), writing quite a few web services and applications with it, including front end with JSF. As such I can safely say that anyone that thinks Java is good to use for anything these days, especially with things like Log4Shell, simply doesn't know enough about computer science. Java is a poorly designed language with corporate bullshit throughout, and while it may have…
Thanks for making the previous poster’s point for them.
Re: Ask HN: Using Java for a web application in 2023
#30Use what you are comfortable with and get the app out there. Way more important than what stack you are using. Now excuse me while I go and look at all the shiny things on HN.