Beginning Groovy and Grails: From Novice to Professional

  • 5h 46m
  • Christopher M. Judd, James Shingler, Joseph Faisal Nusairat
  • Apress
  • 2008

Web frameworks are playing a major role in the creation of today's most compelling web applications, because they automate many of the tedious tasks, allowing developers to instead focus on providing users with creative and powerful features. Java developers have been particularly fortunate in this area, having been able to take advantage of Grails, an open source framework that supercharges productivity when building Java–driven web sites. Grails is based on Groovy, which is a very popular and growing dynamic scripting language for Java developers and was inspired by Python, Ruby, and Smalltalk.

Beginning Groovy and Grails is the first introductory book on the Groovy language and its primary web framework, Grails.

This book gets you started with Groovy and Grails and culminates in the example and possible application of some real–world projects. You follow along with the development of each project, implementing and running each application while learning new features along the way.

What you’ll learn

  • Understand the fundamentals of the open source, dynamic Groovy scripting language and the Grails web framework.
  • Capitalize upon Grails’ well–defined framework architecture to build web applications faster than ever before.
  • Improve your web application with cutting–edge interface enhancements using Ajax.
  • Use Grails’ object–relational mapping solution, GORM, to manage your data store more effectively than ever before.
  • Take advantage of Groovy to create reporting services, implement batch processing, and create alternative client interfaces.
  • Deploy and upgrade yourGrails–driven applications with expertise and ease.
  • Discover an alternative client in Groovy as well.

About the Authors

Christopher Judd is the president and primary consultant for Judd Solutions, LLC, an international speaker, an open source evangelist, the Central Ohio Java Users Group leader, and the coauthor of Enterprise Java Development on a Budget (Apress, 2003). He has spent 12 years architecting and developing software for Fortune 500 companies in various industries, including insurance, retail, government, manufacturing, and transportation. His current focus is consulting, mentoring, and training with Java, Java EE, Java Platform, Micro Edition (Java ME), mobile technologies, and related technologies.

Joseph Faisal Nusairat is a software developer who has been working full time in the Columbus, Ohio, area since 1998, primarily focused on Java development. His career has taken him into a variety of Fortune 500 industries, including military applications, data centers, banking, internet security, pharmaceuticals, and insurance. Throughout this experience, he has worked on all varieties of application development, from design and architecture to development. Joseph, like most Java developers, is particularly fond of open source projects and tries to use as much open source software as possible when working with clients. Joseph is a graduate of Ohio University with dual degrees in computer science and microbiology and a minor in chemistry. While at Ohio University, Joseph also dabbled in student politics and was a research assistant in the virology labs. Currently, Joseph works as a senior partner at Integrallis Software ( In his off-hours, he enjoys watching bodybuilding competitions and Broadway musicals, specifically anything with LaurenMolina.

Jim Shingler is a senior consulting IT architect for a major midwestern insurance and financial services company. The focus of his career has been using leading-edge technology to develop IT solutions for the insurance, financial services, and manufacturing industries. He has 11 years of large-scale Java experience and significant experience in distributed and relational technologies.

In this Book

  • Introduction to Groovy
  • Groovy Basics
  • More Advanced Groovy
  • Introduction to Grails
  • Building the User Interface
  • Building Domains and Services
  • Security in Grails
  • Web 2.0—Ajax and Friends
  • Web Services
  • Reporting
  • Batch Processing
  • Deploying and Upgrading
  • Alternative Clients


Rating 4.8 of 10 users Rating 4.8 of 10 users (10)