|
|
JAVAWUG:Building Twitter with Grails in 40 minutes
Building Twitter with Grails in 40 minutes
In a frank post, the architects of Twitter conceded that Twitter should have been built around a messaging architecture. Citing scalability as their main concern, the Java platform with its advanced and mature support for messaging, through the Java Messaging Service (JMS), could have been a perfect solution to this problem.
In this session Graeme Rocher, the project lead of Grails, will demonstrate how the basics of Twitter could have been built using Grails and JMS in a mere 40 minutes. A fast paced and code-driven presentation, Graeme will build a Twitter-like application from scratch using Grails and its rapid application development capability.
By bringing together Spring, JMS and Java persistence techniques Graeme will also provide advanced tips and techniques for constructing Grails applications that can be deployed on to the Java EE platform.
This talk is kindly sponsored by Trifork / QCon London 2009, which is taking place between March 9th to 13th in London. Pizza and soft drinks will be provided from 18:30 to 19:00, the talk will begin promptly just before 7pm, so make sure you reach the venue in plenty of time!
Graeme will provide a couple of free copies of "Groovy and Grails Recipes" by Bashar Abdul Jawad (Apress) worth £31.99 to win.
As JUG Leader, Peter Pilgrim will give away a personal license to a JetBrains product, IDEA or RubyForge.
See photos from this event here!
Review:
Graeme begins by taking us through an introduction to Grails. Grails was conceived in 2005 and was recently acquired by Spring Source in October 2008:
- Grails is a rapid web application development framework built on Groovy and Spring
- Grails is a full stack environment
- Grails is modular and extensible through a plug-in system
- Grails is backed by Spring Source
According to Graeme, the Grails philosophy builds on the shoulders of giants, embraces convention over configuration, uses sensible defaults, and achieves simplicity without sacrificing flexibility.
Furthermore we discover that Grails is Spring MVC in disguise and it is an abstraction over Spring and Hibernate. Also Grails' plug-in system automates Spring configuration and just like Spring, Grails deploys to any container.
Graeme discusses how Grails makes ORM a breeze. He mentions some of the GORM Key features:
- Dynamic finder and persistence methods
- Criteria with a Groovy builder
- Object-relational Mapping DSL:
- Caching
- Legacy mapping
- Locking strategy (optimistic/pessimistic)
Grails brings a new level of simplicity to the Spring framework and with Grails you get rapid application development benefits, without sacrificing the power of the Spring platform.
ABOUT GRAEME ROCHER
|
Graeme Rocher is the project lead and co-founder of the Grails web application framework. He's a member of the JSR-241 Expert Group which standardizes the Groovy language. Graeme authored the Definitive Guide to Grails for Apress and is a frequent sp
More about Graeme Rocher
|
ABOUT THE JAVAWUG
|
JAVAWUG is a highly active group, regularly meeting at Skills Matter to discuss enterprise web development in Java.
More about the JAVAWUG
|
|
PODCAST BUILDING TWITTER WITH GRAILS IN 40 MINUTES
|
|
|