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 Meetup

Building and Deploying 12 Factor Apps in Scala and Java

June 20, 2017

The twelve-factor app is a modern methodology for building software-as-a-service apps:

• Use declarative formats for setup automation, to minimise time and cost for new developers joining the project.

• Have a clean contract with the underlying operating system, offering maximum portability between execution environments.

• Are suitable for deployment on modern cloud platforms, obviating the need for servers and systems administration.

• Minimise divergence between development and production, enabling continuous deployment for maximum agility.

• And can scale up without significant changes to tooling, architecture, or development practices.

We will build a RESTful web service in Java and deploy the app to CloudFoundry. We will go over how to build a cloud manifest, how to keep our database credentials and application configuration outside of our code by using user-provided services and go over what it takes to build a 12 Factor application in the cloud. This presentation will be heavy on code and light on slides!


Roam Dunwoody

1155 Mount Vernon Highway NE
Atlanta, GA 30338 (map)

AJUG Tweets

Follow @atlantajug on twitter.

Recent Jobs