Making Tests and DAOs more Groovy

October 23, 2012

Until we get Java 8 and Lambdas, Java programming is stuck with the scourge of anonymous inner classes for providing support to mocking objects and stubbing implementations for unit tests. Additionally we are handcuffed by rigid schemas with either a xml hell of mapping files or a plethora of Annotations. Groovy and MongoDB offer an escape from both.

This session will discuss how to use the Groovy language, MongoDB, and GMongo to write dynamic DAOs and unit tests. In this talk we will create a simple crud application using Maven and discuss techniques using duck typing, meta programming, closures, and NoSQL.

I will hope to identify several ways to easily enhance your current Java projects with Groovy as well as make the case for using Groovy outside of Grails.

About the Speaker
Summers Pittman
Summers Pittman is a Senior Software Engineer at Red Hat, holds a Masters in Human Computer Interaction from Georgia Tech, and is the current Web Chair of Ajug.

About Our Meetings

AJUG SIG meets on the fourth Tuesday of each month from 7:00 to 9:00 PM in the Perimeter Center area. Our meetings emphasize high-quality technical content and we encourage interaction among attendees.
Holiday Inn Select Atlanta Perimeter Dunwoody
4386 Chamblee-Dunwoody Road
Atlanta, GA 30341
Phone: (770) 457-6363
Fax: (770) 458-5282
Show me in Google Maps

Posted in Groovy, Meetings

AJUG Tweets

Follow @atlantajug on twitter.

Recent Jobs