Get Advice Icon

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

Grails
Grails

230
189
+ 1
265
Spring Boot
Spring Boot

4.4K
3.5K
+ 1
514
Add tool

Grails vs Spring Boot: What are the differences?

Developers describe Grails as "An Open Source, full stack, web application framework for the JVM". Grails is a framework used to build web applications with the Groovy programming language. The core framework is very extensible and there are numerous plugins available that provide easy integration of add-on features. On the other hand, Spring Boot is detailed as "Create Spring-powered, production-grade applications and services with absolute minimum fuss". 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.

Grails and Spring Boot belong to "Frameworks (Full Stack)" category of the tech stack.

"Groovy" is the primary reason why developers consider Grails over the competitors, whereas "Powerful and handy" was stated as the key factor in picking Spring Boot.

Grails and Spring Boot are both open source tools. It seems that Spring Boot with 39.3K GitHub stars and 25.5K forks on GitHub has more adoption than Grails with 2.47K GitHub stars and 944 GitHub forks.

According to the StackShare community, Spring Boot has a broader approval, being mentioned in 326 company stacks & 585 developers stacks; compared to Grails, which is listed in 48 company stacks and 22 developer stacks.

What is Grails?

Grails is a framework used to build web applications with the Groovy programming language. The core framework is very extensible and there are numerous plugins available that provide easy integration of add-on features.

What is 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.
Get Advice Icon

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

Why do developers choose Grails?
Why do developers choose Spring Boot?

Sign up to add, upvote and see more prosMake informed product decisions

    Be the first to leave a con
    What companies use Grails?
    What companies use Spring Boot?

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

    What tools integrate with Grails?
    What tools integrate with Spring Boot?

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

    What are some alternatives to Grails and Spring Boot?
    Play
    Play Framework makes it easy to build web applications with Java & Scala. Play is based on a lightweight, stateless, web-friendly architecture. Built on Akka, Play provides predictable and minimal resource consumption (CPU, memory, threads) for highly-scalable applications.
    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.
    Groovy
    Groovy builds upon the strengths of Java but has additional power features inspired by languages like Python, Ruby and Smalltalk. It makes modern programming features available to Java developers with almost-zero learning curve.
    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.
    ASP.NET
    .NET is a developer platform made up of tools, programming languages, and libraries for building many different types of applications.
    See all alternatives
    Decisions about Grails and Spring Boot
    Alex A
    Alex A
    Founder at PRIZ Guru | 3 upvotes 58.6K views
    atPRIZ GuruPRIZ Guru
    Grails
    Grails
    Play
    Play
    Scala
    Scala
    Groovy
    Groovy
    Gradle
    Gradle

    Some may wonder why did we choose Grails ? Really good question :) We spent quite some time to evaluate what framework to go with and the battle was between Play Scala and Grails ( Groovy ). We have enough experience with both and, to be honest, I absolutely in love with Scala; however, the tipping point for us was the potential speed of development. Grails allows much faster development pace than Play , and as of right now this is the most important parameter. We might convert later though. Also, worth mentioning, by default Grails comes with Gradle as a build tool, so why change?

    See more
    Marwen Trabelsi
    Marwen Trabelsi
    Software Engineer | 3 upvotes 21.4K views
    Spring Boot
    Spring Boot

    I use Spring-Boot because it almost let you get things done quickly for a JVM-target project, with auto configuration components and dependency management starters. It is almost perfectly tailored for microservices applications development with a single unit deployment artifact (JAR) along with support for Service Registry and Discovery, Circuit Breaker pattern...

    Any third-party library or any back-end service would perfectly integrate well since Spring offers integration support for most of mainstream services, let it be a RDBMS service, a NoSQL database, a Message Broker...

    Coming to day-to-day development, Spring-Boot enjoys a great community so you can get support, direction, focused guidance from almost everywhere.

    See more
    Praveen Mooli
    Praveen Mooli
    Technical Leader at Taylor and Francis | 11 upvotes 220.3K views
    MongoDB Atlas
    MongoDB Atlas
    Java
    Java
    Spring Boot
    Spring Boot
    Node.js
    Node.js
    ExpressJS
    ExpressJS
    Python
    Python
    Flask
    Flask
    Amazon Kinesis
    Amazon Kinesis
    Amazon Kinesis Firehose
    Amazon Kinesis Firehose
    Amazon SNS
    Amazon SNS
    Amazon SQS
    Amazon SQS
    AWS Lambda
    AWS Lambda
    Angular 2
    Angular 2
    RxJS
    RxJS
    GitHub
    GitHub
    Travis CI
    Travis CI
    Terraform
    Terraform
    Docker
    Docker
    Serverless
    Serverless
    Amazon RDS
    Amazon RDS
    Amazon DynamoDB
    Amazon DynamoDB
    Amazon S3
    Amazon S3
    #Backend
    #Microservices
    #Eventsourcingframework
    #Webapps
    #Devops
    #Data

    We are in the process of building a modern content platform to deliver our content through various channels. We decided to go with Microservices architecture as we wanted scale. Microservice architecture style is an approach to developing an application as a suite of small independently deployable services built around specific business capabilities. You can gain modularity, extensive parallelism and cost-effective scaling by deploying services across many distributed servers. Microservices modularity facilitates independent updates/deployments, and helps to avoid single point of failure, which can help prevent large-scale outages. We also decided to use Event Driven Architecture pattern which is a popular distributed asynchronous architecture pattern used to produce highly scalable applications. The event-driven architecture is made up of highly decoupled, single-purpose event processing components that asynchronously receive and process events.

    To build our #Backend capabilities we decided to use the following: 1. #Microservices - Java with Spring Boot , Node.js with ExpressJS and Python with Flask 2. #Eventsourcingframework - Amazon Kinesis , Amazon Kinesis Firehose , Amazon SNS , Amazon SQS, AWS Lambda 3. #Data - Amazon RDS , Amazon DynamoDB , Amazon S3 , MongoDB Atlas

    To build #Webapps we decided to use Angular 2 with RxJS

    #Devops - GitHub , Travis CI , Terraform , Docker , Serverless

    See more
    Interest over time
    Reviews of Grails and Spring Boot
    Review ofSpring BootSpring Boot

    spring boot allow my team to start building web services quickly and package it in a stand alone application

    How developers use Grails and Spring Boot
    Avatar of Climate CoLab
    Climate CoLab uses Spring BootSpring Boot

    Spring-Boot allows us to create stand-alone web servers and helps us configure many of our dependencies with sane default, while maintaining flexibility where we need it.

    Avatar of Emcee
    Emcee uses Spring BootSpring Boot

    Probably the best application framework in Java, by far. Time-proven, mature.

    Avatar of AfricanStockPhoto
    AfricanStockPhoto uses GrailsGrails

    All the power of the JVM, with the ease-of-use of a modern web framework.

    Avatar of p009922
    p009922 uses Spring BootSpring Boot

    light weight server approach for REST-services

    Avatar of Project44
    Project44 uses Spring BootSpring Boot

    All services are spring-boot applications.

    Avatar of Vaadin
    Vaadin uses Spring BootSpring Boot

    Solid base for Java-based web app backend

    Avatar of Endource
    Endource uses GrailsGrails

    Core component of our bespoke CMS

    How much does Grails cost?
    How much does Spring Boot cost?
    Pricing unavailable
    Pricing unavailable
    News about Grails
    More news
    News about Spring Boot
    More news