Software Alternatives & Reviews

Javalin VS Spark Framework

Compare Javalin VS Spark Framework and see what are their differences

Javalin logo Javalin

Simple REST APIs for Java and Kotlin

Spark Framework logo Spark Framework

Spark Framework is a simple and lightweight Java web framework built for rapid development.
  • Javalin Landing page
    Landing page //
    2022-10-26
  • Spark Framework Landing page
    Landing page //
    2019-11-24

Category Popularity

0-100% (relative to Javalin and Spark Framework)
Web Frameworks
54 54%
46% 46
Developer Tools
51 51%
49% 49
Python Web Framework
60 60%
40% 40
Runtime
62 62%
38% 38

User comments

Share your experience with using Javalin and Spark Framework. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare Javalin and Spark Framework

Javalin Reviews

We have no reviews of Javalin yet.
Be the first one to post

Spark Framework Reviews

17 Popular Java Frameworks for 2023: Pros, cons, and more
You can get the Spark Framework up and running in just a few minutes. By default, it runs on the Jetty web server that is embedded into the framework. However, you can use it with other Java web servers as well. According to Spark’s own survey, more than 50% of their users used the framework to create REST APIs, which is its most popular use case. Spark also powers...
Source: raygun.com

Social recommendations and mentions

Javalin might be a bit more popular than Spark Framework. We know about 33 links to it since March 2021 and only 28 links to Spark Framework. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Javalin mentions (33)

  • Spark – A web micro framework for Java and Kotlin
    I'd recommend Javalin (https://javalin.io/) instead. Same idea, only executed better and it is actively maintained. - Source: Hacker News / 3 months ago
  • Spark – A web micro framework for Java and Kotlin
    SparkJava has an actively developed fork/successor called Javalin[1]. It's straightforward to convert from SparkJava to Javalin. The latter is written in Kotlin, but works fine with ordinary Java. While the rest of the Java world was devolving into annotation hell, AOP and other nightmares, these Java microframeworks showcased what happens when you forego legacy Java and leverage modern Java language features... - Source: Hacker News / 3 months ago
  • Show HN: Zero-dependency Java framework out of beta
    The size statistics page is super cool: https://github.com/byronka/minum/blob/master/docs/size_comparisons.md Aside from that, I've also had good experiences with Dropwizard - which is way simpler than Spring Boot but at the same time uses a bunch of idiomatic packages (like Jetty, Jersey, Jackson, Logback and so on): https://www.dropwizard.io/en/stable/ I do wonder whether Minum would ever end up on the... - Source: Hacker News / 7 months ago
  • Java 21 Released
    One of the most common web frameworks used is Spring Boot - here is their quickstart: https://spring.io/quickstart Newer alternatives are: https://micronaut.io/ and https://quarkus.io/ If you want to have something really simple look at Javalin: https://javalin.io/. - Source: Hacker News / 8 months ago
  • Helidon Níma is the first Java microservices framework based on virtual threads
    Counter-example: https://javalin.io/ uses Servlets, and seems to be doing quite fine without annotations. - Source: Hacker News / 9 months ago
View more

Spark Framework mentions (28)

  • [ Servlet + JSP + JDBC ]
    Get a solid grasp of building web applications with Java either using Spring (using Spring Boot) or Spark (if you're also new to Java learning Java and Spring can be a mouthful). Instead of JSP use something Thymeleaf or build the frontend with HTML and JavaScript (and serve the bundles). Source: 5 months ago
  • What's the language of the startup?
    So most of the "tech" stack goes out. In our first startup we created our own web-container by using https://sparkjava.com - and then built a JSR-223 scripting support. Source: 5 months ago
  • What side-projects did you work on during your university years?
    Stack: Java, Spark (not the Apache Spark but this), Kafka, several other libraries like FasterXML's Jackson. Source: 10 months ago
  • Full Time
    The blog is just hugo so it's 100% static files over nginx. The search engine is serverside-rendered mustache templates via handlebars[1], via served via spark[2]. It's basically all vanilla Java. I do raw SQL queries instead of ORM, which makes it quite a bit snappier than most Java applications. The sheer size of the database also mandates that basically every query is a primary key lookup. The code is written... - Source: Hacker News / 11 months ago
  • Show HN: Java REST without annotations, DI nor reactive streams
    Much better! By the way, how does it compare to Spark? https://sparkjava.com/. - Source: Hacker News / 11 months ago
View more

What are some alternatives?

When comparing Javalin and Spark Framework, you can also consider the following products

vert.x - From Wikipedia, the free encyclopedia

Micronaut Framework - Build modular easily testable microservice & serverless apps

Node.js - Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications

helidon - Helidon Project, Java libraries crafted for Microservices

Vaadin Framework - Vaadin is a web application framework for Rich Internet Applications (RIA).

Quarkus - Quarkus: Supersonic Subatomic Java. . Contribute to quarkusio/quarkus development by creating an account on GitHub.