0

Introduction to Groovy

Groovy is an Agile, dynamic programming language for the Java platform. It has an expressive and compact syntax. This allows for shorter, clearer, and easier-to-maintain source code, which can increase developer productivity. Groovy extends the Java class library with a variety of new functionalities and completely integrates into the Java world. In this seminar, the foundations for implementing Groovy will be laid. The knowledge acquired will be reinforced through practical exercises and numerous examples.



3 days


  • Concise and thorough introduction to Groovy
  • Learn how to simplify Java application development thanks to dynamic features
  • Discover closures and duck typing by learning a script language

target group

Developers and software architects looking for a dynamic language for the Java platform.

Contents (new)

Groovy basics

  • Java and Groovy - similarities and differences
  • Installation
  • Groovy as a scripting language
  • Translating and executing Groovy programs
  • Joint compilation with Java
  • Tool support (groovysh, groovy console, Compiler, Interpreter)
  • IDE support (Eclipse, IntelliJ and Netbeans)

Language basics and syntax

  • Everything is an object
  • Packages, interfaces, (abstract) classes, inheritance, annotations
  • Strings, GStrings, templates and regular expressions
  • Loops, conditions
  • Lists, ranges, maps
  • GroovyBeans and property access
  • Dynamic typing and duck typing
  • Static compilation and type testing from Groovy 2.0

Closures and meta-programming

  • Overloading operators
  • Closures, functional programming, currying
  • Runtime meta-object programming, MetaClass
  • Compile time meta-programming with AST transformations
  • Multiple inheritance with traits
  • Using Java Lambdas, default methods, SAM types
  • Type and closure coercion

Easier development with Groovy

  • Groovy Development Kit (GDK)
  • Groovy builder, GPath
  • GUI creation with Swing
  • XML and JSON processing
  • Database access, JMX and web services
  • Parallelization with GPars
  • Creating domain specific languages (DSL)

Areas of application

  • Groovy Java integration, JSR 223, Spring integration
  • Script support through GroovyShell, GroovyScriptEngine and GroovyClassLoader
  • Unit tests and mocks (JUnit, Spock)
  • Rapid prototyping with Grails, Gaelyk and Griffon
  • Dynamic business logic
  • Build management with Gradle
  • Design patterns with Groovy


Good basic knowledge of an object-oriented programming language, Java knowledge is an advantage, e.g. through participating in our training Java for Programmers.

OIO Training

OIO Orientation in Objects GmbH, experts for Java and JavaScript in Mannheim, joined the Trivadis group in May 2018. Together we are extending and strengthening our offer for Java and agile software development. These courses have been developed by OIO and will be held by our new colleagues.

Our Quality Promise

Contact to our service center

DE+49 (0) 711 90363245

CH+41 (0) 584 595795

AT+43 (01) 33 2353160

FR+41 (0) 584 595454

EN+49 (0) 711 90363245

DA+49 (0) 711 90363245


In-house training courses on request!inquiry
back to trainings
0

Request an inhouse training

In order for us to be able to inform you by telephone or e-mail about Trivadis offers and products in the future, we require your consent. Your consent is voluntary and you can revoke it at any time without giving reasons informally by telephone, in writing or by e-mail at info@trivadis.com. We might forward your personal data to a call centre so that we can contact you and inform you about Trivadis products and offers.

Trivadis, Bernd Rössler, Head of Training

Bernd Rössler

  • Solution Manager Trivadis Training
  • DE: +49 (0) 711 90363245
    CH: +41 (0) 584 595795
    AT: +43 (0) 133 2353160
    FR: +41 (0) 584 595454
    EN: +49 (0) 711 90363245
    DA: +49 (0) 711 90363245

    E-Mail: Training@trivadis.com

    “I'll be glad to advise you on topics such as individual coaching, workshops, project support, and online training courses.”

    Your Bernd Rössler

Arrange a training consultation now

Damit wir Sie auch in Zukunft telefonisch oder per E-Mail über die Trivadis Angebote und Produkte informieren können, benötigen wir Ihre Einwilligung. Ihre Einwilligung ist freiwillig und Sie können diese jederzeit ohne Angabe von Gründen formlos telefonisch oder schriftlich oder per E-Mail unter info@trivadis.com widerrufen. Ihre personenbezogenen Daten werden von uns an ein CallCenter weitergegeben, sodass wir Sie auch auf diesem Weg kontaktieren und über Trivadis Produkte und Angebote informieren können.

trivadis training satisfaction guarantee

Guarantee of quality

Following completion by the participants, every single training course is assessed at the levels

  • suitability of the training room,
  • suitability of the workplace,
  • functionality of the technical equipment, and
  • satisfaction throughout the entire course / seminar,

and recorded in our "TRIVALUATION" feedback system for quality assurance purposes. This enables us to consistently ensure the high quality and satisfaction of our valued customers. We really appreciate the overall rating of 9.3 from 10 points awarded by our many enthusiastic customers.


trivadis training success guarantee

Success guarantee

Trivadis guarantees the success of your training. Having completed the course / seminar, do you have any questions about the practical aspects? Would you like to repeat any of the exercises in the lab environment?

Our success guarantee allows you to repeat individual days, or even the entire training course, free of charge for up to 6 months after attending a training course. You bring with you the course materials from the previous training course.