HOME SCALA & F# JAVA .NET WEB GROOVY & GRAILS ANDROID & IOS NOSQL ARCHITECTURE AGILE & SCRUM AGILE DEVELOPER  
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
SPONSORS
QCon
PROGRESSIVE JAVA PODCASTS
Jan Machacek:Spring in Scala, Spring in Scala
Jan Machacek : 8th Feb 2012
Podcast Coming Soon: Spring in Scala,
Sven Efftinge:Xtend - A Programming Language for Java Developers, Xtend
Sven Efftinge : 1st Feb 2012
View Podcast: Xtend - A Programming Language for Java Developers,
Martijn Verburg:Adopt a JSR, JSR
Martijn Verburg : 1st Feb 2012
View Podcast: Adopt a JSR,
Tobias Lindaaker:Neo4j Internals, Neo4j Internals
Tobias Lindaaker : 25th Jan 2012
View Podcast: Neo4j Internals,
Dave Springgay :HTML5, Android Webview and java bridging, HTML5 & Android Webview
Dave Springgay : 19th Jan 2012
View Podcast: HTML5, Android Webview and java bridging,
Paul Butcher:ScalaMock: 'Power' mocking for Scala, ScalaMock
Paul Butcher : 18th Jan 2012
View Podcast: ScalaMock: 'Power' mocking for Scala,
Malcolm Sparks:Reflections on a real-world Clojure application, Real-world Clojure
Malcolm Sparks : 17th Jan 2012
View Podcast: Reflections on a real-world Clojure application,
Julian Birch:Lightning talk: 1000 lines of Clojure, 1000 lines of Clojure
Julian Birch : 17th Jan 2012
View Podcast: Lightning talk: 1000 lines of Clojure,
Neale Swinnerton:Lightning talk: A Quick Guide to paredit-mode, paredit-mode
Neale Swinnerton : 17th Jan 2012
View Podcast: Lightning talk: A Quick Guide to paredit-mode,
Nick Rothwell:Clojure and MaxMSP, Clojure & MaxMSP
Nick Rothwell : 17th Jan 2012
View Podcast: Clojure and MaxMSP,
Peter Ledbrook:Upgrading to Grails 2, Grails 2
Peter Ledbrook : 16th Jan 2012
View Podcast: Upgrading to Grails 2,
John T. Davies:Enterprise Integration - The seriously nasty stuff, Enterprise Integration
John T. Davies : 12th Dec 2011
View Podcast: Enterprise Integration - The seriously nasty stuff,
Luke Daley:Smarter Testing with Spock, Spock
Luke Daley : 8th Dec 2011
View Podcast: Smarter Testing with Spock,
Andres Almiray:Getting Groovy on the Web and Desktop, Getting Groovy on the Web and Desktop
Andres Almiray : 8th Dec 2011
View Podcast: Getting Groovy on the Web and Desktop,
Erik Pragt:DiscoBot: Groovy on Android, DiscoBot: Groovy on Android
Erik Pragt : 8th Dec 2011
View Podcast: DiscoBot: Groovy on Android,
OTHER PROGRESSIVE JAVA EVENTS
Official RNIB Accessibility Hackathon, Official RNIB Accessibility Hackathon
CONFERENCE (2 DAYS)
London, Saturday, February 11th BOOK NOW!
ThoughtWorks Quarterly Briefings:Is programming language choice a good thing?, ThoughtWorks Quarterly Briefings
FREE EVENT: Is programming language choice
Manchester, Monday, February 13th
ThoughtWorks Quarterly Briefings:Is programming language choice a good thing?, ThoughtWorks Quarterly Briefings
FREE EVENT: Is programming language choice
London, Thursday, February 16th
London Android User Group:Data bindings and core dev, London Android User Group
FREE EVENT: Data bindings
London, Thursday, February 16th
GGUG:Deploying Grails Applications, GGUG
FREE EVENT: Deploying Grails
London, Monday, February 20th
:SpringSource's Rich Web Applications with Spring Training,  SpringSource's Rich Web Applications with Spring T
4 DAY COURSE.
London, Tuesday, February 21st
London Java Community:Zero Downtime of JavaEE applications and Home Automation with Java and Arduino, London Java Community
FREE EVENT: Zero Downtime Home Automation
London, Tuesday, February 21st
Neo4J User Group:Neo4j in a .NET world, Neo4J User Group
FREE EVENT: Neo4j in .NET
London, Wednesday, February 22nd
© Copyright 2003-2011, Skills Matter Ltd
  Web development by You In Control
About Us  Jobs  Find Us  Meeting & Training Rooms  Newsletter  Jobs: Sales Executive  Jobs: Student SkillsCaster  jobs - junior event coordinator  Speed Coding 2011  Open Source Journal  Ticket Raffle  Agile Expert Series  Jobs: Sponsorship Development  jobs: Marketing & Sales Graduate Internship