Jetty VS Spring Boot

Compare Jetty vs Spring Boot and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Jetty Spring Boot
16 166
3,750 72,782
0.6% 1.2%
9.9 10.0
2 days ago 2 days ago
Java Java
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Jetty

Posts with mentions or reviews of Jetty. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-26.
  • Let's write a simple microservice in Clojure
    7 projects | dev.to | 26 Apr 2024
    The session logs show that the application loads configurations and establishes a connection with a PostgreSQL database. This involves initializing a HikariCP connection pool and Flyway for database migrations. The logs confirm that the database schema validation and migration checks were successful. The startup of the Jetty HTTP server follows, and the server becomes operational and ready to accept requests on the specified port.
  • Example Java Application with Embedded Jetty and a htmx Website
    3 projects | dev.to | 28 Mar 2024
    As described on eclipse.dev/jetty: "Jetty provides a web server and servlet container, additionally providing support for HTTP/2, WebSocket, OSGi, JMX, JNDI, JAAS and many other integrations. These components are open source and are freely available for commercial use and distribution."
  • Spring Boot Monitoring with Open-Source Tools
    5 projects | dev.to | 2 Dec 2023
    Manual instrumentation allows you to define your Spans within the code itself rather than relying on automatic instrumentation finding the entry point for a trace. Manual instrumentation is especially helpful for applications that don’t use an application server such as Tomcat, JBoss, or Jetty.
  • Security of Eclipse Jetty dependencies
    3 projects | /r/qztray | 2 Nov 2022
    So, 9.4.48 fixes the first two CVEs, but the last one doesn't mention 9.4 at all, so I'm not sure if that's left out due to EOL status for 9.4.
  • Jetty adds Loom support
    1 project | /r/java | 12 Aug 2022
    Fresh off the press: https://github.com/eclipse/jetty.project/issues/8007
  • Choose the right Java runtime for the job (2020, Quarkus vs Open Liberty vs traditional application server)
    4 projects | /r/java | 7 Aug 2022
    If you're doing something pretty simple and need something really lighweight, however, you could go with something like Javalin or even use Jetty directly (the HTTP server which powers Javalin and many other frameworks by default). It's not that hard to do that and that's what I actually would do myself for almost everything... the fewer moving parts you have in your application, the better chances you have of keeping everything up-to-date and the less chance to mess up (with a caveat: bigger frameworks may give you secure defaults that if you're not experienced enough you may not even know about, so it may be better to not go low level if you're new-ish to running web applications securely).
  • The 12-Factor App Building Methodology
    3 projects | dev.to | 2 Jul 2022
    Example: Little Johnny was developing a Java web app and thinking about how he would configure Tomcat to listen to requests and redirect the data into his app... until he remembered this would violate Factor 7! Instead, he decided to declare Jetty as a dependency, keeping the HTTP service inside the app instead of configuring an external web server and then injecting its functionalities. Now, whenever he wants to instantiate another server for this app, all he has to do is installing dependencies and running the app, isn't it convenient?
  • Jetty WONTFIX on PEM support (2021)
    1 project | news.ycombinator.com | 29 May 2022
  • Looking for maintainer for jvm-brotli
    7 projects | /r/java | 18 Apr 2022
    Hi /r/java! Jetty is considering implementing dynamic Brotli compression, but the current JVM wrapper for Google's Brotli (jvm-brotli) is somewhat ... abandoned.
  • Non Spring users what are you using ??
    7 projects | /r/java | 2 Nov 2021
    Multiple applications in the same JVM? Wildfly, Tomcat, Jetty.

Spring Boot

Posts with mentions or reviews of Spring Boot. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-04.
  • Walmart is migrating the remaining F# code into Java
    8 projects | news.ycombinator.com | 4 Mar 2024
    - Usually manually wired and configured vs the spring boot "starter" pattern of having libraries that automatically do some of the manual setup work for you: https://github.com/spring-projects/spring-boot/blob/main/spr...

    I wish more client library sets had the feature-matrix that the pulsar one does, because in practice most end up being the same: Java supports everything because it's either built in the same codebase or is the most used client and gets the most support, while the dotnet client codebase has many feature-requests or performance improvement issues, often leading to a "third-party client" being created.

  • AI PR adds auto generated comments to whole Spring Boot Project
    1 project | news.ycombinator.com | 27 Feb 2024
  • AI commented the entire Spring Boot codebase
    2 projects | news.ycombinator.com | 26 Feb 2024
    https://github.com/spring-projects/spring-boot/pull/39754/co...
  • Spring Boot 3 And Java 17 Migration Guide
    2 projects | dev.to | 16 Dec 2023
    If you’re currently running with an earlier version of Spring Boot, I recommend that you upgrade to Spring Boot 2.7 before migrating to Spring Boot 3.0. It minimizes compatibility issues as much as possible.
  • Spring Boot 3.2.0 Release Notes
    1 project | news.ycombinator.com | 23 Nov 2023
  • The Game of Life, the Universe, and Everything: Java Virtual Threads in Action
    1 project | dev.to | 11 Oct 2023
    Okay, we need to build the game? No problem, we will use Spring Boot and Swing!
  • Netflix Uses Java
    3 projects | news.ycombinator.com | 10 Oct 2023
    It's weird that some people including you directly attack my competence. As a power user you should have plenty of experience getting something to work that is not properly document, does not work how the documentation promised it to, or has weird problems on top of it. Look at idiotic things like this:

    https://github.com/spring-projects/spring-boot/issues/33044

    Take any similar issue and you'll see a bunch of people who try to find a solution for them because they just aren't repeatable at all. The underlying issue is the auto configuration doing things you can't follow quite properly. It's like it wasn't mean to be understood. Issues like the one I linked above also show me that the spring dev crowd also doesn't understand the ecosystem anymore. The problem is complexity and automagic.

  • What's New in Spring Framework 6.1
    5 projects | news.ycombinator.com | 16 Aug 2023
    An interested reader can decide for themselves:

    https://github.com/spring-projects/spring-boot/tree/main/spr...

  • Secure Java URL encoding and decoding
    3 projects | dev.to | 15 Aug 2023
    Explicitly decoding URL query parameters occurs less often because many frameworks, including Spring Boot, handle decoding automatically.
  • SpringBoot Serverless REST API - ApiGateway+Lambda, deployed using AWS SAM
    8 projects | dev.to | 12 Aug 2023
    https://aws.amazon.com/lambda/ https://aws.amazon.com/api-gateway/ https://aws.amazon.com/serverless/sam/ https://aws.amazon.com/cloudformation/ https://aws.amazon.com/s3/ https://spring.io/projects/spring-boot https://start.spring.io

What are some alternatives?

When comparing Jetty and Spring Boot you can also consider the following projects:

nanohttpd - Tiny, easily embeddable HTTP server in Java.

helidon - Java libraries for writing microservices

WildFly - WildFly Application Server

Play - The Community Maintained High Velocity Web Framework For Java and Scala.

Apache Tomcat - Apache Tomcat

javalin - A simple and modern Java and Kotlin web framework [Moved to: https://github.com/javalin/javalin]

Apache TomEE - Apache TomEE

Quarkus - Quarkus: Supersonic Subatomic Java.

open-liberty - Open Liberty is a highly composable, fast to start, dynamic application server runtime environment

Jooby - The modular web framework for Java and Kotlin

android-http-server - A complete zero-dependency implementation of a web server and a servlet container in Java with a sample Android application.

ZK - ZK is a highly productive Java framework for building amazing enterprise web and mobile applications