2. ⣠Builds upon the strengths of Java but has additional power features
inspired by languages like Python, Ruby and Smalltalk
⣠Makes modern programming features available to Java developers with
almost-zero learning curve
⣠Supports Domain-SpeciïŹc Languages and other compact syntax so your
code becomes easy to read and maintain
⣠SimpliïŹes testing by supporting unit testing and mocking out-of-the-box
⣠Seamlessly integrates with all existing Java objects and libraries
⣠Compiles straight to Java bytecode so you can use it anywhere you can use Java
3.
4.
5. "Groovy is like a super version
of Java. It can leverage Java's
enterprise capabilities but also
has cool productivity features
like closures, builders and
dynamic typing. If you are a
developer, tester or script guru,
you have to love Groovy."
9. Development modes (development, test, production, custom)
âą Built-in web server
âą Hot deploy / class reloading without restarting the server
âą ORM (Object Relational Mapping)
âą Lots of plugins, that can be downloaded from the command line / plugin
manager
âą Simple routing conïŹguration
âą Model, view, controller, and test generators
âą Active community
âą Easy to learn
âą Full stack frameworks
âą Console (groovysh / groovyConsole)
âą Easy to conïŹgure
âą Builders
âą Very easy to create tags / reusable HTML components
âą Convention over ConïŹguration
10. Services
Classes which contain business logic but are not
necessarily tied to a speciïŹc domain class (ie. model)
11. Services
Classes which contain business logic but are not
necessarily tied to a speciïŹc domain class (ie. model)
No Migrations
SQL generation is done through the domain class. You deïŹne how the
domain class should be structured, and the SQL is generated.
12. Services
Classes which contain business logic but are not
necessarily tied to a speciïŹc domain class (ie. model)
No Migrations
SQL generation is done through the domain class. You deïŹne how the
domain class should be structured, and the SQL is generated.
Plugins
Plugins written for Grails are simply Grails applications that override
existing code. Similar to Rails Engines, but done right.
13. Services
Classes which contain business logic but are not
necessarily tied to a speciïŹc domain class (ie. model)
No Migrations
SQL generation is done through the domain class. You deïŹne how the
domain class should be structured, and the SQL is generated.
Plugins
Plugins written for Grails are simply Grails applications that override
existing code. Similar to Rails Engines, but done right.
Java Integration
Any Java jars or code libraries can be used within the Grails application
easily.