Play VS Spring

Compare Play vs Spring and see what are their differences.

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Play Spring
31 78
12,508 55,064
0.2% 0.9%
9.7 10.0
8 days ago 3 days ago
Scala Java
Apache License 2.0 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.

Play

Posts with mentions or reviews of Play. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-02.
  • Play Framework 2.9.0 Release Candidate
    1 project | news.ycombinator.com | 20 Sep 2023
  • Reflex – Web apps in pure Python
    9 projects | news.ycombinator.com | 2 Aug 2023
    My major complain here is that, as far as being a web framework there is precious little information here about the framework. How does this framework scale with multiple requests? What concurrency strategy is it using (threads, processes, actors, etc?). Is this opinionated (it doesn't seem so but it also doesn't say it isn't either). How does this work with popular libraries x,y,z. The full docs have a little bit more information, but not a ton. But mostly there are some cute toy examples and "built in python" and thats about it.

    Lets compare this with for example play https://www.playframework.com/ I know from this that it built on Akka, its stateless, aims for predictable resource consumption, has non-blocking io, etc. There is a ton of really important information on what does this web framework actually do that is really important when you are making a choice of a framework.

    I have no idea how good this framework is, but besides a few toy examples, I can't see anything that makes me thing "wow this is great I need to use this".

  • Play (1) Linux manual page
    1 project | news.ycombinator.com | 11 Jun 2023
    A web application framework for Java/Scala: https://www.playframework.com/
  • Scala opensource projects
    4 projects | /r/scala | 6 May 2023
  • Play Framework for Java and Scala
    1 project | news.ycombinator.com | 1 May 2023
  • What is scala's modern Web API framework?
    5 projects | /r/scala | 7 Mar 2023
    Scala 3 migration isn't as simple as migrating other apps, you can track the work at https://github.com/playframework/playframework/issues/11260
  • How does web developement process compare to java web developement ?
    1 project | /r/Python | 2 Mar 2023
    And there are frameworks you can use to make development easier, like Play. And Java has plenty of choices for dependency injection frameworks.
  • what library/framework should I use for backend development?
    3 projects | /r/scala | 21 Feb 2023
    However do note, Play should be perfectly usable as well, and it's still maintained by the community: https://github.com/playframework/playframework/issues/11649
  • Why I selected Elixir and Phoenix as my main stack
    36 projects | dev.to | 21 Jan 2023
    In university I learned a bit of Java, so maybe I could use it professionally I guess?. There were many options to choose from. DropWizard, Spark, Play Framework. But the more documented one in the internet I found was Springboot, besides there were some courses in spanish and some friends that knew something about Springboot, so I give it a chance.
  • Right way to use AWS & Scala
    1 project | /r/scala | 6 Nov 2022
    For a backend web server I use Play - https://www.playframework.com/ which I find to be the easiest one as a backend web server. For learning/using spark I found this course from coursera to be very useful. https://www.coursera.org/learn/scala-spark-big-data

Spring

Posts with mentions or reviews of Spring. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-30.
  • Restrictive Abstractions
    2 projects | dev.to | 30 Mar 2024
    This interface is a simplified version of real caching abstractions from Java technologies such as the ones from Spring or JCache (JSR-107). Both are part of quite complex solutions, having more generic types and different capabilities. Also, annotations would be preferred to using Cache directly in most Java applications.
  • They said to use the Default Dispatchers but I found out it was Unconfined
    1 project | dev.to | 21 Mar 2024
    Cross-post: Controller code using Unconfined Dispatcher #32032
  • Spring 6.1 now compatible with virtual threads and JDK 21 overall
    1 project | /r/hypeurls | 19 Aug 2023
  • What's New in Spring Framework 6.1
    5 projects | news.ycombinator.com | 16 Aug 2023
  • CWE Top Most Dangerous Software Weaknesses
    4 projects | news.ycombinator.com | 13 Jul 2023
    Mitre really lost a lot of respect with CVE-2016-1000027. Every few weeks a warning that any SpringBoot 2.x project has a CVSS 9.8, which causes all sorts of heartache for those of us bound to CVE remediation. Every blasted security tool reports this one. Spring reviewed and rejected, as did our very, very large organization. Comically, this has become the CVE we use to see how our tools allow us to white/black list entries.

    Thank god Spring dropped this interface in the Framework 6.x / Boot 3.x release, and the end for non-commercial support is this year for the old stuff.

    https://github.com/spring-projects/spring-framework/issues/2...

  • Help with GetMapping annotation
    1 project | /r/javahelp | 1 Jul 2023
    Referring to https://github.com/spring-projects/spring-framework/blob/main/spring-web/src/main/java/org/springframework/web/bind/annotation/GetMapping.java, the value could have got assigned to any of the other members like name, path, params, etc. Is there any logic involved that enables the single value passed to the GetMapping annotation to be assigned to the value member?
  • What's your most painful experience of debugging an issue that only reproduced in production?
    1 project | /r/java | 11 May 2023
    This one. In short, JMS listeners stopped working randomly (of course only on Saturdays, and only under load), but at first we didn't know that and suspected the message broker at fault. We had quite extensive logging, but no observability on the broker. Can't remember all the details, but eventually we figured out it was the listener container, and I could reproduce it after debugging deeply into Spring code during a load test.
  • 10+ Open-Source Projects For Web Developers In 2023
    14 projects | dev.to | 10 Apr 2023
    GitHub Stars: 51 K GitHub Link: https://github.com/spring-projects/spring-framework
  • Dropwizard 3.0.0 and 4.0.0 have been released
    1 project | /r/java | 31 Mar 2023
    It still has, but it is more of "imaginary" one (https://github.com/spring-projects/spring-framework/issues/24434).
  • how does spring webflux interact with the java servlet api?
    1 project | /r/java | 7 Mar 2023
    Simple: Spring WebFlux does not require Servlet, but can adapt to it. We essentially built our own reactive HTTP abstraction, without any Servlet dependencies. Then we made adapters that use said abstraction for (Reactor) Netty and Servlet. Note that we have specific adapters for Tomcat, Jetty, and Undertow, relying on non-blocking native APIs.

What are some alternatives?

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

Spring Boot - Spring Boot

Jooby - The modular web framework for Java and Kotlin

Scalatra - Tiny Scala high-performance, async web framework, inspired by Sinatra

Vaadin - Vaadin 6, 7, 8 is a Java framework for modern Java web applications.

Quarkus - Quarkus: Supersonic Subatomic Java.

Ninja - Ninja is a full stack web framework for Java. Rock solid, fast and super productive.

Finatra - Fast, testable, Scala services built on TwitterServer and Finagle

Lift - Lift Framework

Google Web Toolkit - GWT Open Source Project

Http4s - A minimal, idiomatic Scala interface for HTTP

PrimeFaces - Ultimate Component Suite for JavaServer Faces