PrimeFaces VS Spring

Compare PrimeFaces vs Spring 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
PrimeFaces Spring
16 78
1,732 55,064
1.4% 0.9%
9.9 10.0
4 days ago 3 days ago
Java Java
MIT License 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.

PrimeFaces

Posts with mentions or reviews of PrimeFaces. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-12.
  • Shadcn: Beautifully designed components that you can copy-paste into your apps
    15 projects | news.ycombinator.com | 12 Jan 2024
    > I use Quasar and Vue. This is my hammer for all nails, no matter the size of the nail.

    Vue is great, especially with their Composition API (https://vuejs.org/guide/extras/composition-api-faq.html#why-...) and something like Pinia for state management, without the hassles of something like Redux: https://pinia.vuejs.org/

    As for components, I really liked the idea behind PrimeVue/PrimeReact/PrimeNG/PrimeFaces (https://www.primefaces.org/) because I'm not aware of any other attempts of creating components that actually work similarly across different frameworks/libraries and it's really good because your skills carry over pretty well if you ever find yourself exploring a slightly different stack.

    For what it's worth, the components also work decently (there's a whole list https://primevue.org/autocomplete/) and look okay (with various themes available, https://primevue.org/theming/), plus you can get examples (https://blocks.primevue.org/). Oh yeah, they also have their CSS utilities (a bit like Tailwind, https://primeflex.org/installation) and icons (https://primevue.org/icons).

    I actually look forwards to the day where most of these concerns are less of an artisanal craft but rather a set of boring and well known things that just work well for quickly putting together a CRUD or whatever you need.

    That said, I also explored VueRequest for handling network requests a bit more easily (https://www.attojs.org/guide/gettingStarted.html) and VueUse for stuff like LocalStorage (https://vueuse.org/guide/) and while it doesn't feel like I'm building a crappy alternative to Vuex and the complexity is reasonably manageable and the usability present, occasionally it all still feels a bit annoying to deal with - reactivity, ways to shuffle around data that I get from the back end, props, various bugs... so it's not all good, but still less complex than some of the things I've seen with React or Angular.

  • A design system for the federal government
    12 projects | news.ycombinator.com | 10 Sep 2023
  • PrimeFaces v13.0.0 Released
    2 projects | dev.to | 24 Jul 2023
    Visit the changelog for the complete list of changes.
  • Any good Java frontend and backend frameworks?
    1 project | /r/webdev | 19 Jun 2023
    Used this years ago for JSF apps https://www.primefaces.org/ I know they've kept it updated for current angular/react/vue JS front ends, but I've never used those. Might be worth a look.
  • Primefaces responsive table not working
    1 project | /r/Frontend | 29 May 2023
    It might be related to this
  • What do you prefer to use for frontend?
    1 project | /r/learnjava | 28 May 2023
    PrimeFaces (PrimeFaces official page has implementations for Angular, React and Vue)
  • Rules for developers to design beautiful UIs without a designer
    1 project | news.ycombinator.com | 12 Apr 2023
    > I'd like to hear any strategy one has to deal with that. I have taken up Figma and Sketch so I can meet them "where they are" but still, plenty of disagreements can happen.

    One option would be to use a premade design system or a component library/framework that gives you a consistent look and feel, most of those design decisions having a good enough baseline. Then just add a color theme and some branding on top of it and call it a day. It will also increase your development velocity and save you from some pixel pushing.

    For an example of this, consider PrimeFaces: https://www.primefaces.org/

    They have working components that are good enough (and support multiple themes, if need be), their own icon solution and also a CSS utility library, including stuff like layouts. For most projects it'll be enough to create something that works and looks okay.

  • HTML with Superpowers: An Introduction to Web Components
    5 projects | news.ycombinator.com | 10 Jan 2023
    > A UI library for React, Vue, Svelte, Solid, whatever... Imagine being able to have a component library that works with any of them (or none of them).

    That seems to be a worthy goal, but I don't see that being usable in prod projects, at least not in the near future.

    The closest I've seen is something like PrimeFaces, which has components for Angular, React and Vue, which is the majority of projects I've seen out there: https://www.primefaces.org (I've also used the Java JSF variety, it was... sometimes problematic)

    If you need something that works the same (or as close as you can get) across multiple front end frameworks/libraries, while still having most of the components you could possibly want, I don't think there are many other options out there.

    For example:

    - Angular calendar: https://www.primefaces.org/primeng/calendar

    - React calendar: https://www.primefaces.org/primereact/calendar/

    - Vue calendar: https://www.primefaces.org/primevue/calendar

  • What's the most extensive UI kit?
    1 project | /r/webdev | 24 Nov 2022
    I liked Prime ( https://www.primefaces.org/ )
  • ¿Qué tecnologías usarían para crear una web app de gestión?
    6 projects | /r/programacion | 16 Nov 2022

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 PrimeFaces and Spring you can also consider the following projects:

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

Jooby - The modular web framework for Java and Kotlin

Spring Boot - Spring Boot

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

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

Apache Wicket - Apache Wicket - Component-based Java web framework

jwt - Java Web Toolkit

Google Web Toolkit - GWT Open Source Project

Grails - The Grails Web Application Framework

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