StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Frameworks
  4. Frameworks
  5. Dropwizard vs Spring

Dropwizard vs Spring

OverviewDecisionsComparisonAlternatives

Overview

Spring
Spring
Stacks3.9K
Followers4.8K
Votes1.1K
GitHub Stars59.1K
Forks38.8K
Dropwizard
Dropwizard
Stacks309
Followers366
Votes182
GitHub Stars8.6K
Forks3.4K

Dropwizard vs Spring: What are the differences?

Introduction

In this document, we will explore the key differences between Dropwizard and Spring, two popular frameworks used in web application development. Markdown code will be used to format the content for easy integration into a website.

  1. Lightweight vs Comprehensive: Dropwizard is a lightweight framework that focuses on simplicity and fast development. It integrates multiple libraries, such as Jetty, Jersey, and Jackson, to provide a complete stack for building RESTful web services. On the other hand, Spring is a comprehensive framework that offers a wide range of features, including dependency injection, data access, security, and MVC. It provides a modular approach to building web applications.

  2. Convention over Configuration vs Customization: Dropwizard follows the principle of "convention over configuration," where it enforces certain conventions and makes assumptions to minimize configuration. It provides a predefined project structure and opinionated defaults, reducing the need for extensive configuration. In contrast, Spring allows for extensive customization, giving developers more flexibility in configuring their applications. It supports both annotation-based and XML-based configuration, allowing developers to fine-tune their application to meet specific requirements.

  3. Embedded Server vs External Server: Dropwizard comes with an embedded server, Jetty, which is automatically configured and bundled with the application. This eliminates the need for deploying the application on an external server, making deployment simpler. Spring, on the other hand, allows developers to deploy applications on any web server of their choice, giving them more deployment options.

  4. Simplified Development vs Enterprise-Grade Features: Dropwizard simplifies the development process by providing a streamlined set of features. It focuses on developing RESTful web services and includes libraries for request handling, JSON serialization, and database integration. Spring, on the other hand, offers a wide range of enterprise-grade features for building complex applications. It provides support for various architectural patterns, such as MVC, dependency injection, and transaction management, making it suitable for large-scale applications.

  5. Opinionated vs Flexible Database Integration: Dropwizard comes with a default database integration using Hibernate and JDBI, which simplifies the process of working with databases. It enforces best practices and provides out-of-the-box support for database migrations. Spring, on the other hand, offers multiple integration options, including Hibernate, JPA, JDBC, and NoSQL databases. It provides more flexibility in choosing the database technology and allows for fine-grained control over database operations.

  6. Simple Configuration vs Modular Configuration: Dropwizard uses a simple YAML configuration file for managing application settings. It follows a convention-based approach, where the configuration file is structured based on the project's default settings. Spring, on the other hand, supports multiple configuration options, including XML, Java annotations, and properties files. It provides a modular approach to configuration, allowing developers to configure different components separately.

In summary, Dropwizard is a lightweight framework focused on simplicity and fast development, with an opinionated approach and limited customization options, while Spring is a comprehensive framework with a wide range of features, flexible customization options, and extensive support for enterprise-grade applications.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on Spring, Dropwizard

Tushar
Tushar

Jan 7, 2021

Needs adviceonSpringSpringSpring BootSpring BootDjangoDjango

Is learning Spring and Spring Boot for web apps back-end development is still relevant in 2021? Feel free to share your views with comparison to Django/Node.js/ ExpressJS or other frameworks.

Please share some good beginner resources to start learning about spring/spring boot framework to build the web apps.

827k views827k
Comments
Anonymous
Anonymous

Dec 15, 2020

Needs adviceonSpringSpringJavaJavaNode.jsNode.js

I am provided with the opportunity to learn one of these technologies during my training. I have prior experience with Spring and found it tough and still haven't figured out when to use what annotations among the thousands of annotations provided. On the other hand, I am very proficient in Java data structures and algorithms (custom comparators, etc.)

I have used Node.js and found it interesting, but I am wondering If I am taking the risk of choosing a framework that has a comparatively lesser scope in the future. One advantage I see with the node.js is the number of tutorials available and the ease with which I can code.

Please recommend which path to take. Is Spring learnable, or should I spend my energy on learning Node.js instead?

290k views290k
Comments
Bogdan
Bogdan

Software Engineer at -

Oct 25, 2022

Needs adviceonNode.jsNode.jsASP.NET CoreASP.NET CoreC#C#

Hello, I am trying to learn a backend framework besides Node.js. I am not sure what to pick between ASP.NET Core (C#) and Spring Boot (Java). Any advice, any suggestion is highly appreciated. I am planning to build only Web APIs (no desktop applications or something like that). One thing to mention is that I have no experience in Java or C#. I am trying to learn one of those 2 and stick to it.

UPDATE: The project I am trying to build is a SaaS using microservices that supports multi tenancy.

111k views111k
Comments

Detailed Comparison

Spring
Spring
Dropwizard
Dropwizard

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.

Dropwizard is a sneaky way of making fast Java web applications. Dropwizard pulls together stable, mature libraries from the Java ecosystem into a simple, light-weight package that lets you focus on getting things done.

Statistics
GitHub Stars
59.1K
GitHub Stars
8.6K
GitHub Forks
38.8K
GitHub Forks
3.4K
Stacks
3.9K
Stacks
309
Followers
4.8K
Followers
366
Votes
1.1K
Votes
182
Pros & Cons
Pros
  • 230
    Java
  • 157
    Open source
  • 136
    Great community
  • 123
    Very powerful
  • 114
    Enterprise
Cons
  • 15
    Draws you into its own ecosystem and bloat
  • 4
    Poor documentation
  • 3
    Verbose configuration
  • 3
    Java
  • 2
    Java is more verbose language in compare to python
Pros
  • 27
    Quick and easy to get a new http service going
  • 23
    Health monitoring
  • 20
    Easy setup
  • 20
    Metrics integration
  • 18
    Good conventions
Cons
  • 2
    Slightly more confusing dependencies
  • 1
    Not on ThoughtWorks radar since 2014
Integrations
Java
Java
Java
Java

What are some alternatives to Spring, Dropwizard?

Node.js

Node.js

Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

Rails

Rails

Rails is a web-application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.

Django

Django

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

Laravel

Laravel

It is a web application framework with expressive, elegant syntax. It attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as authentication, routing, sessions, and caching.

.NET

.NET

.NET is a general purpose development platform. With .NET, you can use multiple languages, editors, and libraries to build native applications for web, mobile, desktop, gaming, and IoT for Windows, macOS, Linux, Android, and more.

ASP.NET Core

ASP.NET Core

A free and open-source web framework, and higher performance than ASP.NET, developed by Microsoft and the community. It is a modular framework that runs on both the full .NET Framework, on Windows, and the cross-platform .NET Core.

Symfony

Symfony

It is written with speed and flexibility in mind. It allows developers to build better and easy to maintain websites with PHP..

Spring Boot

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.

Android SDK

Android SDK

Android provides a rich application framework that allows you to build innovative apps and games for mobile devices in a Java language environment.

Phoenix Framework

Phoenix Framework

Phoenix is a framework for building HTML5 apps, API backends and distributed systems. Written in Elixir, you get beautiful syntax, productive tooling and a fast runtime.

Related Comparisons

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot

Liquibase
Flyway

Flyway vs Liquibase