SlideShare a Scribd company logo
Groovy Finesse

Why would we use Groovy?
General Information

  HomePage - http://groovy.codehaus.org
  Groovy is open source using a BSD / Apache style licence
  Sun's defacto scripting language (JSR-241)
     http://www.jcp.org/en/jsr/detail?id=241
  Dynamic Language that is compiled into Java class
  bytecode
  The company behind Groovy and Grails (G2One) was just
  bought by a respectable company called SpringSource (the
  same one that does the support for Spring)
  70k downloads in November 2007 and growing
Benefits

  Easy for Java Developers to understand and adopt
  Is the Only JVM language interchangeable with Java code
      Compiled Groovy classes can be used from Java
      Compiled Java classes can be used from Groovy
      Can use Java syntax in Groovy seamlessly
  Growing community and interest
  The company behind Groovy G2One was just bought by a
  respectable company called SpringSource
  With the new stable release (1.6) that came out last week it
  brings forth performance improvements
  GroovyConsole provides a quick way to test out any
  arbitrary code
Benefits over Java

  More concise, cleaner syntax and has less syntax noise
  than Java
  Can be ran as shell scripts (just like Perl)
  Closures
     Closures are Objects that encapsulate behavior
     Have a scope that allows for clean exiting of external
     resources without writing explicit code
         Closing files gracefully
         Closing JDBC connections gracefully
         etc
      Currying allows to make more concise closures from
     other closures by providing defaults to parameters
Benefits over Java

  MOP - Meta Object Protocol
    Allows to inspect any arbitrary object
        Helper methods dump() or inspect() will expose the
        underlying attributes and their values
    Allows addition or modification of methods at runtime
    Allows the creation of DSLs
Benefits over Java

   Builders (a nice and clean patterns that allows to build
  complex objects using nested closures)
     MarkupBuilder - for HTML, XML etc
     JMXBuilder
     SwingBuilder
Features not Found in Standard Java

The Groovy language is largely a superset of the Java
language. One can usually rename a .java file to a .groovy one
and it will work (though there are a few gotchas). Groovy has a
number of features not found in standard Java.
This makes the learning curve for Java developers almost zero,
since they can start with Java syntax and gradually learn to add
Groovy features. [1] Groovy features not available in Java
include both static and dynamic typing (with the def keyword),
closures, operator overloading, native syntax for lists and
associative arrays (maps), native support for regular
expressions, polymorphic iteration, expressions embedded
inside strings, additional helper methods, and the safe
navigation operator "?." to automatically check for nulls (for
example, "variable?.method()", or "variable?.field")
Groovy Modules

 COM Scripting — script Windows ActiveX and COM components with
 Groovy
 Gant
 GFreeMarker — an integration of the FreeMarker template engine for
 Groovy
 GMaven — GMaven provides integration of the Groovy language into
 Maven.
 Google Data Support — makes using the Google Data APIs easier from
 within Groovy
 Gram — a simple xdoclet-like tool for processing doclet tags or Java 5
 annotations
 GraphicsBuilder — GraphicsBuilder is a Groovy builder for Java 2D
 Grapplet
 Griffon — Dekstop Enhancements for Groovy
 Groosh — Provides a shell-like capability for handling external processes.
 Groovy Jabber-RPC — allows you to make XML-RPC calls using the
 Jabber protocol
Groovy Modules

 GroovyJMS
 GroovyLab — Provides a domain specific language (DSL) for math
 engineering (matlab-like syntax).
 Groovy Monkey — is a dynamic scripting tool for the Eclipse Platform
 GroovyRestlet — Groovy DSL for constructing Restlet application
 Groovy Science
 Groovy SOAP — create a SOAP server and make calls to remote SOAP
 servers using Groovy
 GroovySWT — a wrapper around SWT, the eclipse Standard Widget
 Toolkit
 GroovyWS — GroovySOAP replacement that uses CXF and Java5
 features
 GSP — means GroovyServer Pages, which is similar to JSP (JavaServer
 Pages)
 GSQL — supports easier access to databases using Groovy
 HTTP Builder — provides a convenient builder API for complex HTTP
 requests
 JideBuilder — JideBuilder is a Groovy builder for the open source JIDE
Groovy Modules

 Native Launcher — a native program for launching groovy scripts
 Proxy-o-Matic — Proxy-o-Matic lets you create dynamic proxies fast and in
 an homogeneous way
 Windows NSIS-Installer — a Windows-specific installer for Groovy
 Windows Services — framework for Groovy-based WinNT (Windows)
 Services
 WingSBuilder — WingsBuilder is a Groovy builder for the wingS
 Framework
 XMLRPC — allows you to create a local XML-RPC server and/or to make
 calls on remote XML-RPC servers
 Grails — a Groovy-based web framework inspired by Ruby on Rails
 GORM — the Grails Object-Relational Mapping persistence framework
 GroovyPlugin — A Groovy plugin for JSPWiki
 OCM Groovy — A Object Content Mapping implemented in Groovy
 leveraging the Java Content Repository (JCR)
 Tellurium — A test framework built on top of the Selenium test framework
 implemented in Groovy
IDE Support

 Debugging with JSwat
 Eclipse Plugin
 IntelliJ IDEA Plugin
 IntelliJ IDEA Plugin (JetBrains Edition)
 JEdit Plugin
 NetBeans Plugin
 Oracle JDeveloper Plugin
 Other Plugins
 TextMate
Project Build Management

 Maven
 Ant
 Gradle
Groovy Books

 Groovy In Action (Manning)
 Programming Groovy: Dynamic Productivity for the Java
 Developer (Pragmatic Programmers)
 Groovy Recipes: Greasing the Wheels of Java (Pragmatic
 Programmers)
 Beginning Groovy and Grails: From Novice to Professional
 (Apress)
 Groovy Programming: An Introduction for Java Developers
 (Morgan Kaufmann)
 Groovy and Grails Recipes: Recipes a Dynamic Approach
 (Apress)
 The Definitive Guide to Grails (Apress)
 The Definitive Guide to Grails: Second Edition (Apress)
 Getting Started with Grails (Lulu.com)
Who Uses Groovy?

 Mule ESB
 ServiceMix ESB
 Spring
 Grails
 LinkedI

More Related Content

What's hot

Як РНР розробник пише код на Kotlin
Як РНР розробник пише код на KotlinЯк РНР розробник пише код на Kotlin
Як РНР розробник пише код на Kotlin
phpfriendsclub
 
Introduction to go lang
Introduction to go langIntroduction to go lang
Introduction to go lang
Amal Mohan N
 
MySQL Compatible Open Source Connectors
MySQL Compatible Open Source ConnectorsMySQL Compatible Open Source Connectors
MySQL Compatible Open Source Connectors
Andrew Hutchings
 
Es build presentation
Es build presentationEs build presentation
Es build presentation
PT Citra Niaga Teknologi
 
Life of a Chromium Developer
Life of a Chromium DeveloperLife of a Chromium Developer
Life of a Chromium Developermpaproductions
 
Cache in Chromium: Disk Cache
Cache in Chromium: Disk CacheCache in Chromium: Disk Cache
Cache in Chromium: Disk Cache
Chang W. Doh
 
Chromium: NaCl and Pepper API
Chromium: NaCl and Pepper APIChromium: NaCl and Pepper API
Chromium: NaCl and Pepper API
Chang W. Doh
 
Debugging of (C)Python applications
Debugging of (C)Python applicationsDebugging of (C)Python applications
Debugging of (C)Python applications
Roman Podoliaka
 
차세대컴파일러, VM의미래: 애플 오픈소스 LLVM
차세대컴파일러, VM의미래: 애플 오픈소스 LLVM차세대컴파일러, VM의미래: 애플 오픈소스 LLVM
차세대컴파일러, VM의미래: 애플 오픈소스 LLVM
Jung Kim
 
Thesis - LLVM toolchain support as a plug-in for Eclipse CDT
Thesis - LLVM toolchain support as a plug-in for Eclipse CDTThesis - LLVM toolchain support as a plug-in for Eclipse CDT
Thesis - LLVM toolchain support as a plug-in for Eclipse CDT
TuononenP
 
JavaCro 2016 - From Java to Groovy: Adventure Time!
JavaCro 2016 - From Java to Groovy: Adventure Time!JavaCro 2016 - From Java to Groovy: Adventure Time!
JavaCro 2016 - From Java to Groovy: Adventure Time!
Iván López Martín
 
Agile Tools for PHP
Agile Tools for PHPAgile Tools for PHP
Agile Tools for PHP
philipjting
 
HOW AND WHY GRAALVM IS QUICKLY BECOMING RELEVANT FOR YOU
HOW AND WHY GRAALVM IS QUICKLY BECOMING RELEVANT FOR YOUHOW AND WHY GRAALVM IS QUICKLY BECOMING RELEVANT FOR YOU
HOW AND WHY GRAALVM IS QUICKLY BECOMING RELEVANT FOR YOU
Lucas Jellema
 
Go Lang
Go LangGo Lang
Wonders of Golang
Wonders of GolangWonders of Golang
Wonders of Golang
Kartik Sura
 
Gradle
GradleGradle
Gradle
Han Yin
 
C++ CoreHard Autumn 2018. Создание пакетов для открытых библиотек через conan...
C++ CoreHard Autumn 2018. Создание пакетов для открытых библиотек через conan...C++ CoreHard Autumn 2018. Создание пакетов для открытых библиотек через conan...
C++ CoreHard Autumn 2018. Создание пакетов для открытых библиотек через conan...
corehard_by
 
PHP & MySQL: PDO x MySQLi
PHP & MySQL: PDO x MySQLiPHP & MySQL: PDO x MySQLi
PHP & MySQL: PDO x MySQLi
Marcos Marcolin
 

What's hot (20)

JSX
JSXJSX
JSX
 
Як РНР розробник пише код на Kotlin
Як РНР розробник пише код на KotlinЯк РНР розробник пише код на Kotlin
Як РНР розробник пише код на Kotlin
 
Introduction to go lang
Introduction to go langIntroduction to go lang
Introduction to go lang
 
MySQL Compatible Open Source Connectors
MySQL Compatible Open Source ConnectorsMySQL Compatible Open Source Connectors
MySQL Compatible Open Source Connectors
 
00_VB_Intro
00_VB_Intro00_VB_Intro
00_VB_Intro
 
Es build presentation
Es build presentationEs build presentation
Es build presentation
 
Life of a Chromium Developer
Life of a Chromium DeveloperLife of a Chromium Developer
Life of a Chromium Developer
 
Cache in Chromium: Disk Cache
Cache in Chromium: Disk CacheCache in Chromium: Disk Cache
Cache in Chromium: Disk Cache
 
Chromium: NaCl and Pepper API
Chromium: NaCl and Pepper APIChromium: NaCl and Pepper API
Chromium: NaCl and Pepper API
 
Debugging of (C)Python applications
Debugging of (C)Python applicationsDebugging of (C)Python applications
Debugging of (C)Python applications
 
차세대컴파일러, VM의미래: 애플 오픈소스 LLVM
차세대컴파일러, VM의미래: 애플 오픈소스 LLVM차세대컴파일러, VM의미래: 애플 오픈소스 LLVM
차세대컴파일러, VM의미래: 애플 오픈소스 LLVM
 
Thesis - LLVM toolchain support as a plug-in for Eclipse CDT
Thesis - LLVM toolchain support as a plug-in for Eclipse CDTThesis - LLVM toolchain support as a plug-in for Eclipse CDT
Thesis - LLVM toolchain support as a plug-in for Eclipse CDT
 
JavaCro 2016 - From Java to Groovy: Adventure Time!
JavaCro 2016 - From Java to Groovy: Adventure Time!JavaCro 2016 - From Java to Groovy: Adventure Time!
JavaCro 2016 - From Java to Groovy: Adventure Time!
 
Agile Tools for PHP
Agile Tools for PHPAgile Tools for PHP
Agile Tools for PHP
 
HOW AND WHY GRAALVM IS QUICKLY BECOMING RELEVANT FOR YOU
HOW AND WHY GRAALVM IS QUICKLY BECOMING RELEVANT FOR YOUHOW AND WHY GRAALVM IS QUICKLY BECOMING RELEVANT FOR YOU
HOW AND WHY GRAALVM IS QUICKLY BECOMING RELEVANT FOR YOU
 
Go Lang
Go LangGo Lang
Go Lang
 
Wonders of Golang
Wonders of GolangWonders of Golang
Wonders of Golang
 
Gradle
GradleGradle
Gradle
 
C++ CoreHard Autumn 2018. Создание пакетов для открытых библиотек через conan...
C++ CoreHard Autumn 2018. Создание пакетов для открытых библиотек через conan...C++ CoreHard Autumn 2018. Создание пакетов для открытых библиотек через conan...
C++ CoreHard Autumn 2018. Создание пакетов для открытых библиотек через conan...
 
PHP & MySQL: PDO x MySQLi
PHP & MySQL: PDO x MySQLiPHP & MySQL: PDO x MySQLi
PHP & MySQL: PDO x MySQLi
 

Viewers also liked

Groovy Finesse
Groovy FinesseGroovy Finesse
Groovy Finesse
mzgubin
 
Crafting delightful experiences
Crafting delightful experiencesCrafting delightful experiences
Crafting delightful experiences
Uday Shankar
 
Hot or Not? Fundraising in 2012
Hot or Not? Fundraising in 2012Hot or Not? Fundraising in 2012
Hot or Not? Fundraising in 2012
frank barry
 
User Experioence - delivering great ux through great ui
User Experioence - delivering great ux through great uiUser Experioence - delivering great ux through great ui
User Experioence - delivering great ux through great ui
Uday Shankar
 
Mopping Up With Groovy
Mopping Up With GroovyMopping Up With Groovy
Mopping Up With Groovy
fuglylogic
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
Luminary Labs
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
LinkedIn
 

Viewers also liked (7)

Groovy Finesse
Groovy FinesseGroovy Finesse
Groovy Finesse
 
Crafting delightful experiences
Crafting delightful experiencesCrafting delightful experiences
Crafting delightful experiences
 
Hot or Not? Fundraising in 2012
Hot or Not? Fundraising in 2012Hot or Not? Fundraising in 2012
Hot or Not? Fundraising in 2012
 
User Experioence - delivering great ux through great ui
User Experioence - delivering great ux through great uiUser Experioence - delivering great ux through great ui
User Experioence - delivering great ux through great ui
 
Mopping Up With Groovy
Mopping Up With GroovyMopping Up With Groovy
Mopping Up With Groovy
 
Hype vs. Reality: The AI Explainer
Hype vs. Reality: The AI ExplainerHype vs. Reality: The AI Explainer
Hype vs. Reality: The AI Explainer
 
Study: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving CarsStudy: The Future of VR, AR and Self-Driving Cars
Study: The Future of VR, AR and Self-Driving Cars
 

Similar to Groovy Finesse

Dynamic Languages on the JVM
Dynamic Languages on the JVMDynamic Languages on the JVM
Dynamic Languages on the JVMelliando dias
 
Groovy and Grails intro
Groovy and Grails introGroovy and Grails intro
Groovy and Grails intro
Miguel Pastor
 
Groovy & Grails
Groovy & GrailsGroovy & Grails
Groovy & Grails
Michael Yan
 
Why don't you Groovy?
Why don't you Groovy?Why don't you Groovy?
Why don't you Groovy?
Orest Ivasiv
 
intoduction to Grails Framework
intoduction to Grails Frameworkintoduction to Grails Framework
intoduction to Grails Framework
Harshdeep Kaur
 
Dynamic Languages Web Frameworks Indicthreads 2009
Dynamic Languages Web Frameworks Indicthreads 2009Dynamic Languages Web Frameworks Indicthreads 2009
Dynamic Languages Web Frameworks Indicthreads 2009
Arun Gupta
 
Geb with spock
Geb with spockGeb with spock
Geb with spock
Monika Gurram
 
Griffon: Re-imaging Desktop Java Technology
Griffon: Re-imaging Desktop Java TechnologyGriffon: Re-imaging Desktop Java Technology
Griffon: Re-imaging Desktop Java Technology
James Williams
 
GWT Introduction for Eclipse Day
GWT Introduction for Eclipse Day GWT Introduction for Eclipse Day
GWT Introduction for Eclipse Day
DNG Consulting
 
Groovy and Grails in Action - Devoxx 2008 - University - Guillaume Laforge
Groovy and Grails in Action - Devoxx 2008 - University - Guillaume LaforgeGroovy and Grails in Action - Devoxx 2008 - University - Guillaume Laforge
Groovy and Grails in Action - Devoxx 2008 - University - Guillaume Laforge
Guillaume Laforge
 
OSGi enRoute Unveiled - P Kriens
OSGi enRoute Unveiled - P KriensOSGi enRoute Unveiled - P Kriens
OSGi enRoute Unveiled - P Kriens
mfrancis
 
Jalimo Slides Linuxtag2007 (English)
Jalimo Slides Linuxtag2007 (English)Jalimo Slides Linuxtag2007 (English)
Jalimo Slides Linuxtag2007 (English)
smancke
 
Javascript as a target language - GWT KickOff - Part 2/2
Javascript as a target language - GWT KickOff - Part 2/2Javascript as a target language - GWT KickOff - Part 2/2
Javascript as a target language - GWT KickOff - Part 2/2
JooinK
 
GROOVY ON GRAILS
GROOVY ON GRAILSGROOVY ON GRAILS
GROOVY ON GRAILS
ziyaaskerov
 
Gr8Conf US 2017 - From Java to Groovy: Adventure Time!
Gr8Conf US 2017 - From Java to Groovy: Adventure Time!Gr8Conf US 2017 - From Java to Groovy: Adventure Time!
Gr8Conf US 2017 - From Java to Groovy: Adventure Time!
Iván López Martín
 
AOT and Native with Spring Boot 3.0
AOT and Native with Spring Boot 3.0AOT and Native with Spring Boot 3.0
AOT and Native with Spring Boot 3.0
MoritzHalbritter
 
Magic with groovy & grails
Magic with groovy & grailsMagic with groovy & grails
Magic with groovy & grails
George Platon
 
NodeJS vs Golang - A detailed comparison
NodeJS vs Golang - A detailed comparisonNodeJS vs Golang - A detailed comparison
NodeJS vs Golang - A detailed comparison
Devathon
 
Java 7 - New Features - by Mihail Stoynov and Svetlin Nakov
Java 7 - New Features - by Mihail Stoynov and Svetlin NakovJava 7 - New Features - by Mihail Stoynov and Svetlin Nakov
Java 7 - New Features - by Mihail Stoynov and Svetlin Nakov
Svetlin Nakov
 

Similar to Groovy Finesse (20)

Dynamic Languages on the JVM
Dynamic Languages on the JVMDynamic Languages on the JVM
Dynamic Languages on the JVM
 
Groovy and Grails intro
Groovy and Grails introGroovy and Grails intro
Groovy and Grails intro
 
Groovy & Grails
Groovy & GrailsGroovy & Grails
Groovy & Grails
 
Why don't you Groovy?
Why don't you Groovy?Why don't you Groovy?
Why don't you Groovy?
 
intoduction to Grails Framework
intoduction to Grails Frameworkintoduction to Grails Framework
intoduction to Grails Framework
 
Dynamic Languages Web Frameworks Indicthreads 2009
Dynamic Languages Web Frameworks Indicthreads 2009Dynamic Languages Web Frameworks Indicthreads 2009
Dynamic Languages Web Frameworks Indicthreads 2009
 
Geb with spock
Geb with spockGeb with spock
Geb with spock
 
Griffon: Re-imaging Desktop Java Technology
Griffon: Re-imaging Desktop Java TechnologyGriffon: Re-imaging Desktop Java Technology
Griffon: Re-imaging Desktop Java Technology
 
GWT Introduction for Eclipse Day
GWT Introduction for Eclipse Day GWT Introduction for Eclipse Day
GWT Introduction for Eclipse Day
 
Groovy and Grails in Action - Devoxx 2008 - University - Guillaume Laforge
Groovy and Grails in Action - Devoxx 2008 - University - Guillaume LaforgeGroovy and Grails in Action - Devoxx 2008 - University - Guillaume Laforge
Groovy and Grails in Action - Devoxx 2008 - University - Guillaume Laforge
 
OSGi enRoute Unveiled - P Kriens
OSGi enRoute Unveiled - P KriensOSGi enRoute Unveiled - P Kriens
OSGi enRoute Unveiled - P Kriens
 
Jalimo Slides Linuxtag2007 (English)
Jalimo Slides Linuxtag2007 (English)Jalimo Slides Linuxtag2007 (English)
Jalimo Slides Linuxtag2007 (English)
 
Javascript as a target language - GWT KickOff - Part 2/2
Javascript as a target language - GWT KickOff - Part 2/2Javascript as a target language - GWT KickOff - Part 2/2
Javascript as a target language - GWT KickOff - Part 2/2
 
GROOVY ON GRAILS
GROOVY ON GRAILSGROOVY ON GRAILS
GROOVY ON GRAILS
 
Groovy
GroovyGroovy
Groovy
 
Gr8Conf US 2017 - From Java to Groovy: Adventure Time!
Gr8Conf US 2017 - From Java to Groovy: Adventure Time!Gr8Conf US 2017 - From Java to Groovy: Adventure Time!
Gr8Conf US 2017 - From Java to Groovy: Adventure Time!
 
AOT and Native with Spring Boot 3.0
AOT and Native with Spring Boot 3.0AOT and Native with Spring Boot 3.0
AOT and Native with Spring Boot 3.0
 
Magic with groovy & grails
Magic with groovy & grailsMagic with groovy & grails
Magic with groovy & grails
 
NodeJS vs Golang - A detailed comparison
NodeJS vs Golang - A detailed comparisonNodeJS vs Golang - A detailed comparison
NodeJS vs Golang - A detailed comparison
 
Java 7 - New Features - by Mihail Stoynov and Svetlin Nakov
Java 7 - New Features - by Mihail Stoynov and Svetlin NakovJava 7 - New Features - by Mihail Stoynov and Svetlin Nakov
Java 7 - New Features - by Mihail Stoynov and Svetlin Nakov
 

Recently uploaded

UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 

Recently uploaded (20)

UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 

Groovy Finesse

  • 1. Groovy Finesse Why would we use Groovy?
  • 2. General Information HomePage - http://groovy.codehaus.org Groovy is open source using a BSD / Apache style licence Sun's defacto scripting language (JSR-241) http://www.jcp.org/en/jsr/detail?id=241 Dynamic Language that is compiled into Java class bytecode The company behind Groovy and Grails (G2One) was just bought by a respectable company called SpringSource (the same one that does the support for Spring) 70k downloads in November 2007 and growing
  • 3. Benefits Easy for Java Developers to understand and adopt Is the Only JVM language interchangeable with Java code Compiled Groovy classes can be used from Java Compiled Java classes can be used from Groovy Can use Java syntax in Groovy seamlessly Growing community and interest The company behind Groovy G2One was just bought by a respectable company called SpringSource With the new stable release (1.6) that came out last week it brings forth performance improvements GroovyConsole provides a quick way to test out any arbitrary code
  • 4. Benefits over Java More concise, cleaner syntax and has less syntax noise than Java Can be ran as shell scripts (just like Perl) Closures Closures are Objects that encapsulate behavior Have a scope that allows for clean exiting of external resources without writing explicit code Closing files gracefully Closing JDBC connections gracefully etc Currying allows to make more concise closures from other closures by providing defaults to parameters
  • 5. Benefits over Java MOP - Meta Object Protocol Allows to inspect any arbitrary object Helper methods dump() or inspect() will expose the underlying attributes and their values Allows addition or modification of methods at runtime Allows the creation of DSLs
  • 6. Benefits over Java Builders (a nice and clean patterns that allows to build complex objects using nested closures) MarkupBuilder - for HTML, XML etc JMXBuilder SwingBuilder
  • 7. Features not Found in Standard Java The Groovy language is largely a superset of the Java language. One can usually rename a .java file to a .groovy one and it will work (though there are a few gotchas). Groovy has a number of features not found in standard Java. This makes the learning curve for Java developers almost zero, since they can start with Java syntax and gradually learn to add Groovy features. [1] Groovy features not available in Java include both static and dynamic typing (with the def keyword), closures, operator overloading, native syntax for lists and associative arrays (maps), native support for regular expressions, polymorphic iteration, expressions embedded inside strings, additional helper methods, and the safe navigation operator "?." to automatically check for nulls (for example, "variable?.method()", or "variable?.field")
  • 8. Groovy Modules COM Scripting — script Windows ActiveX and COM components with Groovy Gant GFreeMarker — an integration of the FreeMarker template engine for Groovy GMaven — GMaven provides integration of the Groovy language into Maven. Google Data Support — makes using the Google Data APIs easier from within Groovy Gram — a simple xdoclet-like tool for processing doclet tags or Java 5 annotations GraphicsBuilder — GraphicsBuilder is a Groovy builder for Java 2D Grapplet Griffon — Dekstop Enhancements for Groovy Groosh — Provides a shell-like capability for handling external processes. Groovy Jabber-RPC — allows you to make XML-RPC calls using the Jabber protocol
  • 9. Groovy Modules GroovyJMS GroovyLab — Provides a domain specific language (DSL) for math engineering (matlab-like syntax). Groovy Monkey — is a dynamic scripting tool for the Eclipse Platform GroovyRestlet — Groovy DSL for constructing Restlet application Groovy Science Groovy SOAP — create a SOAP server and make calls to remote SOAP servers using Groovy GroovySWT — a wrapper around SWT, the eclipse Standard Widget Toolkit GroovyWS — GroovySOAP replacement that uses CXF and Java5 features GSP — means GroovyServer Pages, which is similar to JSP (JavaServer Pages) GSQL — supports easier access to databases using Groovy HTTP Builder — provides a convenient builder API for complex HTTP requests JideBuilder — JideBuilder is a Groovy builder for the open source JIDE
  • 10. Groovy Modules Native Launcher — a native program for launching groovy scripts Proxy-o-Matic — Proxy-o-Matic lets you create dynamic proxies fast and in an homogeneous way Windows NSIS-Installer — a Windows-specific installer for Groovy Windows Services — framework for Groovy-based WinNT (Windows) Services WingSBuilder — WingsBuilder is a Groovy builder for the wingS Framework XMLRPC — allows you to create a local XML-RPC server and/or to make calls on remote XML-RPC servers Grails — a Groovy-based web framework inspired by Ruby on Rails GORM — the Grails Object-Relational Mapping persistence framework GroovyPlugin — A Groovy plugin for JSPWiki OCM Groovy — A Object Content Mapping implemented in Groovy leveraging the Java Content Repository (JCR) Tellurium — A test framework built on top of the Selenium test framework implemented in Groovy
  • 11. IDE Support Debugging with JSwat Eclipse Plugin IntelliJ IDEA Plugin IntelliJ IDEA Plugin (JetBrains Edition) JEdit Plugin NetBeans Plugin Oracle JDeveloper Plugin Other Plugins TextMate
  • 12. Project Build Management Maven Ant Gradle
  • 13. Groovy Books Groovy In Action (Manning) Programming Groovy: Dynamic Productivity for the Java Developer (Pragmatic Programmers) Groovy Recipes: Greasing the Wheels of Java (Pragmatic Programmers) Beginning Groovy and Grails: From Novice to Professional (Apress) Groovy Programming: An Introduction for Java Developers (Morgan Kaufmann) Groovy and Grails Recipes: Recipes a Dynamic Approach (Apress) The Definitive Guide to Grails (Apress) The Definitive Guide to Grails: Second Edition (Apress) Getting Started with Grails (Lulu.com)
  • 14. Who Uses Groovy? Mule ESB ServiceMix ESB Spring Grails LinkedI