Jeff Brown

Grails Practice Lead - OCI Grails Team

Grails co-founder and OCI Grails Practice Lead, Jeff Scott Brown has been doing JVM application development for as long as the JVM has existed. He has spent most of the last decade focused specifically on work related to the Grails framework. Jeff co-authored The Definitive Guide to Grails Second Edition and The Definitive Guide to Grails 2, in partnership with Grails co-founder and OCI Grails Team Lead, Graeme Rocher. Jeff is also a regular public speaker on Grails, Groovy, and other JVM-related technologies.

Presentations

GORM is the powerful ORM tool that has been developed as part of the Grails web framework. GORM fully leverages the capabilities of Groovy to provide a rich set of capabilities which greatly simplify interacting with databases from any JVM application, not just Groovy and Grails applications as recent versions of GORM are very easy to use independent of Grails.

This session will introduce GORM and quickly get into details which highlight what has made GORM so successful, including an exploration of GORM Data Services which allow most of your data access layer to be written as interfaces with no classes necessary as GORM is able to generate most of the database interaction bytecode at compile time. I will also introduce GORM’™s flexibility with respect to communication with fundamentally different types of datastores including relational databases, graph databases, document stores and more.

Micronaut is a new JVM-based, full-stack framework for building modular, easily testable microservice applications. Unlike reflection-based IoC frameworks, which load and cache reflection data for every single field, method, and constructor in your code; with Micronaut, your application startup time and memory consumption are not bound to the size of your codebase.

The Micronaut framework shares many core values with Grails, including the enablement of code simplicity and developer productivity. Micronaut offers many additional features for a new class of applications (e.g., microservices, serverless deployments, etc.) that may not be well-suited for Grails.

Compelling aspects of the Micronaut framework include:

  • Sub-second startup time
  • Tiny processes that may run in as little as 8mb of heap
  • No runtime reflection
  • Dependency injection
  • Load balancing
  • And more!

In this talk, Jeff demonstrates how the future of Grails, GORM, and Micronaut are linked, as well as how the OCI Groovy and Grails team is taking productivity around developing microservices to the next level!

Micronaut is a modern, JVM-based, full-stack framework for building modular, easily testable microservice applications. Micronaut embraces some of the same ideas Grails uses to prioritize developer productivity and code simplicity, then applies those ideas to a framework specifically designed to overcome the challenges associated with microservice architectures. Through lectures, real-world examples, and lab exercises, this 1-day hands-on workshop will arm you with everything you need to get started building microservice applications using Micronaut. The workshop will cover the fundamentals of Micronaut and build a real application which will be deployed to Google Cloud Platform (GCP) during the experience.

  • Introduction to Micronaut
  • Controllers
  • Compile Time Dependency Injection
  • Routing
  • HTTP Client (Auto Retries, Circuit Breakers, Failover)
  • Configuration (Supplying, Retrieving)
  • Bidirectional JSON
  • Integrating GORM
  • Aspect-Oriented Programming
  • Management Endpoints
  • Integration (Service Discovery, AWS Lambda, etc.)
  • Deploying To GCP

Although everyone is welcome, this workshop is best suited for JVM developers who want to build microservice applications. Participants should be comfortable with Java as a programming language.

Books

The Definitive Guide to Grails 2

by Jeff Scott Brown and Graeme Rocher

  • Grails is a full stack framework which aims to greatly simplify the task of building serious web applications for the JVM. The concepts within Grails, like interceptors, tag libs, and Groovy Server Pages (GSP), make those in the Java community feel right at home.

    Grails’ foundation is on solid open source technologies such as Spring, Hibernate, and SiteMesh, which gives it even more potential in the Java space: Spring provides powerful inversion of control and MVC, Hibernate brings a stable, mature object relational mapping technology with the ability to integrate with legacy systems, and SiteMesh handles flexible layout control and page decoration.

    Grails complements these with additional features that take advantage of the coding–by–convention paradigm such as dynamic tag libraries, Grails object relational mapping, Groovy Server Pages, and scaffolding.

    Graeme Rocher, Grails lead and founder, and Jeff Brown bring you completely up–to–date with their authoritative and fully comprehensive guide to the Grails 2 framework. You’ll get to know all the core features, services, and Grails extensions via plug–ins, and understand the roles that Groovy and Grails are playing in the changing Web.

    What you’ll learn

    • Discover how the Web is changing and the role the Groovy language and its Grails framework play
    • Get to know the Grails Project and its domains, services, filters, controllers, views, testing, and plug–ins
    • Experience the availability of plug–ins for Rich Client and Ajax, web services, performance/utilities, scheduling, security, functionality, and even Persistence
    • See how Grails works with other frameworks like Spring, Wicket, Hibernate, and more
    • Create custom plug–ins in Grails

    Who this book is for

    This book is for everyone who is looking for a more agile approach to web development with a dynamic scripting language such as Groovy. This includes a large number of Java developers who have been enticed by the productivity gains seen with frameworks such as Ruby on Rails, JRuby on Rails, etc. The Web and its environment is a perfect fit for easily adaptable and concise languages such as Groovy and Ruby, and there is huge interest from the developer community in general to embrace these languages.

    Table of Contents

    1. The Essence of Grails
    2. Getting Started with Grails 2
    3. Understanding Domain Classes
    4. Understanding Controllers
    5. Understanding Views
    6. Mapping URLs
    7. Internationalization
    8. Ajax
    9. GORM
    10. Services
    11. Dependency Management
    12. Plugins