The landscape of Java-based web development underwent a profound transformation in the mid-to-late
2000s, moving away from heavy-weight, XML-intensive configurations toward more agile, dynamic, and
productive frameworks. At the heart of this evolution was the "Mastering Grails" series published on
IBM developerWorks.
Authored by Scott Davis, this series served as a definitive guide for enterprise developers seeking
to leverage the power of the Java Virtual Machine (JVM) while adopting the rapid development
paradigms pioneered by frameworks like Ruby on Rails.
While the original IBM articles have been phased out due to platform evolutions, this archive
preserves the foundational architectural principles championed by the series, with surviving PDF
documents available for review.
Series Archive
Build your first Grails application
An introduction to the Grails framework. Discover how to leverage convention over configuration to
rapidly build a basic trip-planner web application on the Java Virtual Machine without writing
verbose XML.
Archival Document Available A preserved copy of this installment is available
for review.
A deep dive into Grails Object Relational Mapping (GORM). Learn how to interact with relational
databases seamlessly using Groovy closures and dynamic finders instead of writing complex SQL or
mapping files.
Archival Document Available A preserved copy of this installment is available
for review.
Putting the Web into the Grails framework. See how easy it is to use Grails TagLibs, mix together
partial fragments of Groovy Server Pages (GSP), and customize default templates for automatically
generated views.
Archival Document Available A preserved copy of this installment is available
for review.
Moving beyond basic CRUD operations. This installment explores how to model complex real-world data
structures using many-to-many relationships within GORM, and enhances the interface using
asynchronous JavaScript (Ajax).
Archival Document Available A preserved copy of this installment is available
for review.
Keeping controllers thin by extracting core business logic into transactional Grails Services. This
installment demonstrates mixing external technologies into the application by integrating geocoding
and the Google Maps API.
Archival Document Available A preserved copy of this installment is available
for review.
Adapting the trip planner application to support the burgeoning mobile web ecosystem, ensuring
layouts and data delivery perform optimally across varied devices and screen sizes.
Archival Document Available A preserved copy of this installment is available
for review.
Explores strategies and best practices for securely connecting a modern Grails application to
pre-existing legacy relational databases without compromising data integrity.
Archival Document Available A preserved copy of this installment is available
for review.
Investigates the asynchronous event-driven capabilities within the Grails framework, demonstrating
how to decouple application components for better scalability, performance, and maintainability.
Archival Document Available A preserved copy of this installment is available
for review.
A comprehensive examination of building Representational State Transfer (REST) APIs with Grails,
allowing for seamless data exchange with external clients and modern web architectures.
Archival Document Available A preserved copy of this installment is available
for review.
Establishing robust application reliability through automated testing. An exploration of writing
unit and integration tests for your domain classes, controllers, and services using the built-in
testing framework.
Archival Document Available A preserved copy of this installment is available
for review.
Enhancing application responsiveness by utilizing JavaScript Object Notation (JSON) to
asynchronously stream data between the server and the browser, shifting rendering logic to the
client.
Archival Document Available A preserved copy of this installment is available
for review.
Putting to rest any qualms about Grails' readiness for the enterprise. Discover how to natively
integrate Grails with enterprise-caliber libraries including Java Management Extensions (JMX),
Spring, and log4j.
Archival Document Available A preserved copy of this installment is available
for review.