Ask HN: What's your Go-to web stack for Java?

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • Spring Boot

    Spring Boot

    Spring Boot: is my go to for REST APIs or workers

    https://spring.io/projects/spring-boot

    Spring Batch: for async/batch work

    https://spring.io/projects/spring-batch

  • Bootique

    Bootique is a minimally opinionated platform for modern runnable Java apps.

    I really like Bootique as an alternative to Spring Boot: https://bootique.io/

    For higher loads I pick Vert.x.

    Other than that, it's almost always 3 J's: Jetty, Jersey, Jackson.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • Vert.x

    Vert.x is a tool-kit for building reactive applications on the JVM

    1) Vert.x (https://github.com/eclipse-vertx/vert.x) - Reactive framework (think Node.js on steroids) built on top of Netty with awesome HTTP and JDBC support. I use this to build anything that's performance sensitive or cost to serve is important.

    2) Spring IoC / spring-context / spring-beans (https://docs.spring.io/spring-framework/docs/current/referen...): Spring is still pretty awesome for dependency injection. You only have to import what you need. Also a fan of Spring Boot but you need to be pretty opinionated about disabling auto-configuration or just pulling in what you need. Injecting whatever Spring component you need becomes pretty straightforward after that.

    If you're going to adopt any of these technologies though, your team needs to be able to look under the covers when things go wrong or you need to do something sufficiently custom.

  • Micronaut

    Micronaut Application Framework

    https://micronaut.io/ - low memory foot print, AOT first approach, catch most of the errors at compile time and highly productive.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts