TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What web framework for Java worked for you and why?

8 点作者 philonoist超过 2 年前

5 条评论

karmakaze超过 2 年前
Had a Spring&#x2F;Boot app that had too slow startup times. Used SparkJava but it was too bare-bones.<p>Switched to Javalin with JDBI and it&#x27;s pretty good.
exabrial超过 2 年前
We are 100% convinced that if you want to save time on development, you need to be using a component based framework for internal applications, where exact looks aren’t as important as functionality. PrimeFaces provides an incredible amount of components.<p>The other indispensable technology is CDI. This dependency injection specifications is very minimal and allows you to do perfect composition with your code, and makes mock testing with Mockito a breeze.<p>Quarkus is awesome, but it can’t run PrimeFaces directly. This would be best the best back, and if you wanted to write an SPA.<p>Another option is TomEE, which can run PrimeFaces, but it’s quirky. This would be best if you want to write a full stack application.<p>Spring&#x2F;ThymeLeaf is quite good but is not a component framework. This is sort of in between and follows the MVC pattern.<p>There are so many choices compared to other languages and Java is faster than everything else out of the box.
reactor超过 2 年前
Quarkus<p>Among others, hot-reload (in dev mode), low memory footprint, fast start, sane error messages (compared to Spring) are something that attracted us.
PaulHoule超过 2 年前
JAX-RS<p>It&#x27;s super-easy to use for writing JSON back ends, just like Sinatra.<p>You can add a template engine like Freemarker to output HTML also.
approxim8ion超过 2 年前
Jersey and SpringBoot have both been quite decent for me.