October 2009
Java development 2.0: Easy EC2
Provisioning an EC2 instance for hosting a Java Web application is a snap. In this Java development 2.0 column, you'll quickly build a Web application that leverages Groovy, Spring, and Hibernate (via the Grails framework) and deploy it on an EC2 instance.
September 2009
Mastering Grails: Creating a custom plug-in
In this Mastering Grails installment, Scott Davis shows you how to create your own Grails plug-in. Once you see how effortless it is to create a plug-in, you'll understand why more than 250 Grails plug-ins are available now, with new ones being added all the time.
July 2009
Mastering Grails: Understanding plug-ins
Plug-ins are an exciting, vibrant part of the Grails ecosystem. Adding whole areas of new functionality to your applications couldn't be easier. You'll learn how Grails plug-ins do their magic, and you'll use a plug-in to implement powerful search capabilities in the Blogito application.
June 2009
Grails file uploads and Atom syndication
Grails is a modern Web development framework that mixes familiar Java technologies like Spring and Hibernate. See how easy it is to implement a Grails file-upload capabilities for the body of a blog entry and put together a hand-rolled Atom feed for syndication.
May 2009
Step through Securing your Grails application
Grails provides all the basic building blocks you need to put together a secure Web application. Setting up an authentication infrastructure answers the question, "Who are you?" Get a hands-on lesson in enabling logins, limiting activity based on whether or not the User is logged in, and how to add in some authorization based on the User's role.
March 2009
A Flex SOA Grails backend with rich GWT frontend UI widgets
In this article you will build a Web application using Grails and the Google Web Toolkit (GWT). You will also use some richer UI widgets from the Ext GWT library. Familiarity with Groovy is great, but not completely necessary.
Rewiring Grails with custom URIs and codecs
This article shows you how to affect the lifeblood of any Web application: the URIs used for navigation. The permalinks back to individual entries are passed around the Internet like calling cards; the more descriptive they are, the more effective they are. Learn how to tweak the UrlMappings.groovy file to create new pathways. And finally, you'll create a custom codec to generate custom URIs more easily.
February 2009
Build a Web application using Grails and Flex
You don't have to write any SQL to create a database or to read and write from it. Grails makes it much easier to map URLs to Groovy code, invoke services and create XML for the Web service, which is easily consumed by a Flex front end. Learn how to create a clean MVC architecture on the front end and how to use many sophisticated features of Flex, like E4X, data-binding, states, and custom components. In this article you will see how easy it is to create a Web service with Grails.
January 2009
Better looking Grails apps are possible with CSS
This article focuses on dramatically changing the look and feel of a Grails application. With a few lines of CSS, you can change colors, fonts, and the spacing around block elements. Through partial templates and TagLibs, you can create some reusable snippets of code. In the end, you have all the benefits of the Grails framework and an application that has its very own look and feel, that looks nothing like an out-of-the-box Grails application you have ever seen.
1
(9 marks)