Synopses & Reviews
The rise of Ruby on Rails has signified a huge shift in how we build web applications today; it is a fantastic framework with a growing community. There is, however, space for another such framework that integrates seamlessly with Java. Thousands of companies have invested in Java, and these same companies are losing out on the benefits of a Rails?like framework. Enter Grails.
Grails is not just a Rails clone. It aims to provide a Rails?like environment that is more familiar to Java developers and employs idioms that Java developers are comfortable using, making the adjustment in mentality to a dynamic framework less of a jump. 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 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 Rails 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.
In the late 90s I was working on a project developing large-scale enterprise learning mana- ment systems using early J2EE technologies such as EJB 1.0 and the Servlet framework. The Java hype machine was in full swing, and references to EJB that, and Java this were on the cover of every major IT publication. Even though what we were doing and learning as we did it felt so horribly wrong, the industry kept telling us we were doing the right thing. EJB was going to solve all our problems, and servlets (even without a view technology at the time) were the right thing to use. My, how times have changed. Nowadays, Java and J2EE are long-forgotten buzzwords, and the hype machine is throwing other complex acronyms at us such as SOA and ESB. In my experience, developers are on a c- tinued mission to write less code. The monolithic J2EE specifications, like those adopted by the development community in the early days, didn t help. If a framework or a specification is overly complex and requires you to write reams of repetitive code, it should be an immediate big red flag. Why did we have to write so much repetitive boilerplate code? Surely there was a better way."
In this up-to-date and authoritative guide, Rocher covers all the core features, services, and extensions via plug-ins and is sure to benefit anyone looking for a more agile approach to Web development with such dynamic scripting language as Groovy.
Java professionals long the productivity gains a framework like Ruby on Rails provides, without having to leave the Java Platform. Grails provides this missing link by bringing the best aspects from Grails while embracing the Java platform and language itself. Grails is an open source Java/Groovy-based Rails-like framework that gives dynamic Java a boost; so, Java developers now have a viable Java-based solution instead of considering the non-Java-based Ruby on Rails, which can create more problems than it solves. Grails, sometimes called Groovy on Rails, is an emerging area of much interest with already anticipated available support from such key Java projects as Spring, Oracle, and more.
The Definitive Guide to Grails, Second Edition, will be the first and definitive book on Grails written by the founder and leads of Grails.