Re:The Modern Java Platform – 2021 Edition
by ianlevesque on Wednesday March 17, 2021 @01:04AM
(#26486775)
There's always https://javalin.io/
Re:The Modern Java Platform – 2021 Edition
by aww_dang on Wednesday March 17, 2021 @04:00AM
(#26487793)
Plain servlets, jetty, haproxy for TLS, jstl, postgres, apache dbcp. Add in whatever specialty libraries for the project and you can pull away with 1/100th of the dependencies.
Re:The Modern Java Platform – 2021 Edition
by theandrewbailey on Wednesday March 17, 2021 @09:30AM
(#26490928)
I built a blog engine that almost has that stack (Payara instead of jetty, apache dbcp).
Re:The Modern Java Platform – 2021 Edition
by doctor_eval on Wednesday March 17, 2021 @04:59AM
(#26488248)
Agreed, though I’d also add
MyBatis.
You can even pair that down a little further if you use the built-in HttpServer that's been in the JDK since 1.6.
Re:The Modern Java Platform – 2021 Edition
by diroussel on Friday March 19, 2021 @03:42AM
(#26510876)
Even servlet containers are the wrong approach. I have from experience it’s best to stick to libraries. You know where you are when you call a function.
The Servlet spec now includes annotation scanning by default now, which is unnecessarily complicated and slows down start up.
I spent so much time this week chasing magic buttons in that over engineered piece of stink.
I'd rather do raw HTTP servlets at this point.