Grails 3 & Spring Boot

Grails 3 is built on top of Spring Boot. So when you use Grails 3, you have all the functionality of Spring Boot, because a Grails 3 app is a Spring Boot app. From the developer’s perspective, it doesn’t necessarily look like a Boot app, but 100% of the Boot capabilities are there. In addition to all of the capabilities provided by Boot, developers benefit from the enormous productivity gains and other features (e.g., GORM, Profiles, etc.) that Grails 3 has to offer. A question like “Should I use Grails 3 or Spring Boot?” isn’t really sensible.  A question like “Should I use Spring Boot by itself, or should I use Grails 3 so I get Boot, plus a lot more?” answers itself.

"I was in the ‘why not just Spring Boot camp’, but 15 minutes in, realized how much stuff Grails simplifies. Spring Boot does a good job of cutting down boilerplate, but it doesn’t go as far as Grails does."

-tunaranch  (Grails Slack Channel, Apr. 12, 2016)

What else do you get with Grails? Glad you asked!

  • Grails fully embraces Groovy to enable many features that would not be possible using Java alone, including Dynamic Finders, many DSLs, AST Tranformations, Trait based solutions and much more.
  • A rich plugin ecosystem
  • GORM 5 is the most powerful and most flexible ORM tool for the JVM.  GORM supports many types of databases, including:
    • Hibernate 4/5 {SQL}
    • Mongo
    • Neo4j
    • JPA
    • REST Client
    • Redis
    • SimpleDB
    • DynamoDB
    • Cassandra
    • Riak
  • Application Profiles: whether you are building a full-scale web app, a small api or an angular app, Grails comes with the right profile to get you started!
  • Powerful testing tools built into the framework leveraging tools like Geb, Spock, an in-memory GORM implementation.
  • Built with Gradle!, the standard in build systems.

AND ... Grails has been here for almost a decade with the same technical leadership the entire time, and the framework continues to evolve and adapt to enable developers to most efficiently and intelligently build and deploy web applications.

WebSanity Top Secret