Groovy for Domain-specific Languages - Second Edition

Extend and enhance your Java applications with domain-specific scripting in Groovy

Groovy for Domain-specific Languages - Second Edition

Fergal Dearle

Extend and enhance your Java applications with domain-specific scripting in Groovy
Mapt Subscription
FREE
$30.00/m after trial
eBook
$28.00
RRP $39.99
Save 29%
Print + eBook
$49.99
RRP $49.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$28.00
$49.99
$29.99 p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Groovy for Domain-specific Languages - Second Edition Book Cover
Groovy for Domain-specific Languages - Second Edition
$ 39.99
$ 28.00
SSL VPN : Understanding, evaluating and planning secure, web-based remote access Book Cover
SSL VPN : Understanding, evaluating and planning secure, web-based remote access
$ 29.99
$ 21.00
Buy 2 for $35.00
Save $34.98
Add to Cart

Book Details

ISBN 139781849695404
Paperback386 pages

Book Description

The times when developing on the JVM meant you were a Java programmer have long passed. The JVM is now firmly established as a polyglot development environment with many projects opting for alternative development languages to Java such as Groovy, Scala, Clojure, and JRuby. In this pantheon of development languages, Groovy stands out for its excellent DSL enabling features which allows it to be manipulated to produce mini languages that are tailored to a project’s needs.

A comprehensive tutorial on designing and developing mini Groovy based Domain Specific Languages, this book will guide you through the development of several mini DSLs that will help you gain all the skills needed to develop your own Groovy based DSLs with confidence and ease.

Starting with the bare basics, this book will focus on how Groovy can be used to construct domain specific mini languages, and will go through the more complex meta-programming features of Groovy, including using the Abstract Syntax Tree (AST). Practical examples are used throughout this book to de-mystify these seemingly complex language features and to show how they can be used to create simple and elegant DSLs. Packed with examples, including several fully worked DSLs, this book will serve as a springboard for developing your own DSLs.

Table of Contents

Chapter 1: Introduction to DSLs and Groovy
Chapter 4: The Groovy Language
Chapter 11: Implementing a Rules DSL

What You Will Learn

  • Familiarize yourself with Groovy scripting and work with Groovy closures
  • Use the meta-programming features in Groovy to build mini languages
  • Employ Groovy mark-up and builders to simplify application development
  • Familiarize yourself with Groovy mark-up and build your own Groovy builders
  • Build effective DSLs with operator overloading, command chains, builders, and a host of other Groovy language features
  • Integrate Groovy with your Java and JVM based applications

Authors

Table of Contents

Chapter 1: Introduction to DSLs and Groovy
Chapter 4: The Groovy Language
Chapter 11: Implementing a Rules DSL

Book Details

ISBN 139781849695404
Paperback386 pages
Read More

Read More Reviews

Recommended for You

SSL VPN : Understanding, evaluating and planning secure, web-based remote access Book Cover
SSL VPN : Understanding, evaluating and planning secure, web-based remote access
$ 29.99
$ 21.00
Express Web Application Development Book Cover
Express Web Application Development
$ 29.99
$ 21.00
Getting started with IntelliJ IDEA Book Cover
Getting started with IntelliJ IDEA
$ 20.99
$ 14.70
OpenJDK Cookbook Book Cover
OpenJDK Cookbook
$ 26.99
$ 18.90
JasperReports for Java Developers Book Cover
JasperReports for Java Developers
$ 26.99
$ 18.90
Unity Character Animation with Mecanim Book Cover
Unity Character Animation with Mecanim
$ 39.99
$ 28.00