Need advice about which tool to choose?Ask the StackShare community!

Apache Struts

55
51
+ 1
0
Spring MVC

461
483
+ 1
0
Add tool

Apache Struts vs Spring MVC: What are the differences?

What is Apache Struts? A free open source framework for creating Java web applications. It is a free, open-source, MVC framework for creating elegant, modern Java web applications. It favors convention over configuration, is extensible using a plugin architecture, and ships with plugins to support REST, AJAX and JSON.

What is Spring MVC? A Java framework which is used to build web applications. A Java framework that follows the Model-View-Controller design pattern and provides an elegant solution to use MVC in spring framework by the help of DispatcherServlet.

Apache Struts and Spring MVC can be primarily classified as "Frameworks (Full Stack)" tools.

Some of the features offered by Apache Struts are:

  • MVC framework
  • extensible using a plugin architecture
  • ships with plugins to support REST, AJAX and JSON

On the other hand, Spring MVC provides the following key features:

  • Clear separation of roles
  • Customizable binding and validation
  • Adaptability

Apache Struts and Spring MVC are both open source tools. Spring MVC with 31.2K GitHub stars and 20.1K forks on GitHub appears to be more popular than Apache Struts with 959 GitHub stars and 637 GitHub forks.

Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More

What is Apache Struts?

It is a free, open-source, MVC framework for creating elegant, modern Java web applications. It favors convention over configuration, is extensible using a plugin architecture, and ships with plugins to support REST, AJAX and JSON.

What is Spring MVC?

A Java framework that follows the Model-View-Controller design pattern and provides an elegant solution to use MVC in spring framework by the help of DispatcherServlet.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Apache Struts?
What companies use Spring MVC?
See which teams inside your own company are using Apache Struts or Spring MVC.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Apache Struts?
What tools integrate with Spring MVC?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Apache Struts and Spring MVC?
Apache Tomcat
Apache Tomcat powers numerous large-scale, mission-critical web applications across a diverse range of industries and organizations.
Spring
A key element of Spring is infrastructural support at the application level: Spring focuses on the "plumbing" of enterprise applications so that teams can focus on application-level business logic, without unnecessary ties to specific deployment environments.
Spring Boot
Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration.
AngularJS
AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.
JBoss
An application platform for hosting your apps that provides an innovative modular, cloud-ready architecture, powerful management and automation, and world class developer productivity.
See all alternatives