Software Alternatives, Accelerators & Startups

Quarkus VS Apache Struts

Compare Quarkus VS Apache Struts and see what are their differences

Quarkus logo Quarkus

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

Apache Struts logo Apache Struts

Apache Struts is an open-source web application framework for developing Java EE web applications.
  • Quarkus Landing page
    Landing page //
    2023-08-29
  • Apache Struts Landing page
    Landing page //
    2022-04-27

Quarkus features and specs

  • Fast Startup Time
    Quarkus is designed with a focus on GraalVM and ahead-of-time compilation, which significantly reduces startup time, making it ideal for cloud-native applications and microservices that may be frequently started and stopped.
  • Low Memory Footprint
    Quarkus optimizes for low RAM usage by leveraging techniques like dead code elimination and native image generation, which is beneficial in resource-constrained environments such as containers and serverless platforms.
  • Developer Productivity
    Quarkus provides developer-friendly features like live reload and Dev UI, which enhance productivity by allowing developers to test changes immediately and manage extensions with ease.
  • Extensive Extension Ecosystem
    Quarkus supports a wide range of extensions for various popular technologies and frameworks, making it versatile and easier to integrate with existing systems and tools.
  • Kubernetes Native
    Built with Kubernetes in mind, Quarkus offers out-of-the-box integration with Kubernetes and OpenShift, simplifying deployment and management of applications in container orchestration platforms.

Possible disadvantages of Quarkus

  • Steep Learning Curve
    For developers unfamiliar with reactive programming or GraalVM, the learning curve can be steep when adopting Quarkus, especially when transitioning from traditional Java EE or Spring Boot.
  • Limited Legacy Support
    Quarkus is optimized for modern Java applications, which means that migrating large, legacy applications may require significant refactoring, posing a challenge for enterprises with extensive existing codebases.
  • Native Image Limitations
    While GraalVM's native images provide performance benefits, they can have limitations related to reflection and dynamic class loading, making certain Java libraries incompatible or requiring workarounds.
  • Community Maturity
    Although rapidly growing, the Quarkus community is not as mature as some other Java frameworks. This could lead to fewer resources or longer wait times for community-driven support and contributions.
  • Complex Configuration for Native Build
    Building native images often requires more complex configurations and understanding of GraalVM internals, which can complicate the build process and management compared to running JVM-based applications.

Apache Struts features and specs

  • Robust Framework
    Apache Struts is a mature and well-established framework for Java web applications, providing stable and reliable tools for enterprise-level applications.
  • MVC Architecture
    Struts adheres to the Model-View-Controller (MVC) design pattern, which separates business logic, presentation, and navigation, making code maintenance and development easier.
  • Extensive Documentation
    Struts has comprehensive documentation and a wealth of online resources, including tutorials, community forums, and user guides, which can support developers throughout their projects.
  • Rich Tag Library
    It comes with a rich set of custom tags that enhance the JSP (JavaServer Pages) to create dynamic web content easily.
  • Plugin Support
    Apache Struts supports various plugins that can extend its functionality, allowing developers to integrate additional features without much effort.

Possible disadvantages of Apache Struts

  • Steep Learning Curve
    New developers might find Struts challenging to learn due to its complexity and the need for a good understanding of the MVC architecture and Java web application development.
  • Configuration Overhead
    The framework requires extensive XML configuration, which can be cumbersome and time-consuming compared to convention-over-configuration frameworks.
  • Performance
    Struts can be slower than some newer, lighter frameworks due to its broader feature set and the overhead associated with its extensive configuration.
  • Security Vulnerabilities
    Struts has had notable security vulnerabilities in the past. Although patches and updates are available, it necessitates proactive monitoring and maintenance.
  • Outdated Compared to Modern Frameworks
    With the advent of modern frameworks like Spring MVC and JavaServer Faces, some developers consider Struts to be less up-to-date with the latest web development standards and practices.

Analysis of Apache Struts

Overall verdict

  • Apache Struts is a robust framework, suitable for building Java-based web applications, but it's crucial to stay vigilant regarding security updates.

Why this product is good

  • Apache Struts is known for its MVC framework, which is useful for creating well-structured and maintainable Java applications. It provides a range of comprehensive features like a flexible tag library, integration with other Java frameworks, and a strong support community. However, it has faced some high-profile security vulnerabilities in the past, underscoring the importance of keeping the framework timely updated.

Recommended for

  • Organizations developing enterprise-level Java applications
  • Developers familiar with Java and looking for a robust MVC framework
  • Teams interested in integrating their web applications with other Java technologies

Quarkus videos

Quarkus in Real-World Deployments

More videos:

  • Review - Secure your Quarkus applications | DevNation Tech Talk
  • Review - Hands-On Cloud-Native Applications with Java and Quarkus | 1. Introduction to Quarkus Core Concepts

Apache Struts videos

Finding and Fixing Apache Struts CVE-2017-5638 with Black Duck Hub

More videos:

  • Review - Apache Struts 2 - remote command execution
  • Review - Dark ambient drone music | Vulnerable Apache Struts installation under attack (Java, Jakarta)

Category Popularity

0-100% (relative to Quarkus and Apache Struts)
Web Frameworks
39 39%
61% 61
Developer Tools
33 33%
67% 67
PHP MVC Framework
100 100%
0% 0
JavaScript Tools
0 0%
100% 100

User comments

Share your experience with using Quarkus and Apache Struts. 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 Quarkus and Apache Struts

Quarkus Reviews

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

Apache Struts Reviews

17 Popular Java Frameworks for 2023: Pros, cons, and more
You can integrate Struts with other Java frameworks to perform tasks that aren’t built into the platform. For instance, you can use the Spring plugin for dependency injection or the Hibernate plugin for object-relational mapping. Struts also allows you to use different client-side technologies such as Jakarta Server Pages to build the frontend of your application.
Source: raygun.com
10 Best Java Frameworks You Should Know
Followed by Struts Framework, the next leading framework currently being used in the IT industry is the Wicket.

Social recommendations and mentions

Apache Struts might be a bit more popular than Quarkus. We know about 2 links to it since March 2021 and only 2 links to Quarkus. 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.

Quarkus mentions (2)

  • Your First Open Source Contribution: A Beginner's Guide
    If you are into Java and are looking for a great project to start, make sure to check out Quarkus. They also have a great contributor guide which you can check out and get started directly! - Source: dev.to / 4 months ago
  • Quarkus fundamentals
    First of all, extensions are developed and maintained by the Quarkus team. You can find them on the Quarkus GitHub repository. They integrate seamlessly into the Quarkus architecture as they can be processed at build time and be built in native mode with GraalVM. - Source: dev.to / over 2 years ago

Apache Struts mentions (2)

What are some alternatives?

When comparing Quarkus and Apache Struts, you can also consider the following products

Guava - Google core libraries for Java 6+.

Spring Framework - The Spring Framework provides a comprehensive programming and configuration model for modern Java-based enterprise applications - on any kind of deployment platform.

RxJava - RxJava – Reactive Extensions for the JVM is a library for composing asynchronous and event-based programs using observable sequences.

Grails - An Open Source, full stack, web application framework for the JVM

Laravel - A PHP Framework For Web Artisans

Spark Mail - Spark helps you take your inbox under control. Instantly see what’s important and quickly clean up the rest. Spark for Teams allows you to create, discuss, and share email with your colleagues