Beginning Groovy and Grails : From Novice to Professional

Apress
Apress
9781430210450
1-4302-1045-1

T he year 2005 was a traumatic year for the Java web application development com- nity. It was under fire for the unnecessary "fat" architecture of Java Platform, Enterprise Edition (Java EE) systems compared.

read more…

to the new kids on the block like Ruby on Rails and Django. The search began for Java's answer to these frameworks. I had an existing product that was heavily invested in Java frameworks such as Spring and Hibernate, but because I had been involved with the Groovy team for a while, I knew we could create the solution that people were looking for. Hence, Grails was born. I knew Groovy itself was a phenomenal piece of technology that combined the best of the dynamic language worlds and Java. Innovation has been rife within the Groovy community since the early days with its builder concept. It had inspired other languages, and more recent languages such as ActionScript 3 and ECMAScript 4 had adopted its support for mixed typing. Groovy had proven to me that you can mix a dynamically typed language like Groovy with a statically typed language like Java in the same code base and get the best of both worlds without incurring the cost of context switching.