Creating an Eclipse-based Groovy Development Environment for TDD

Within the system I'm building at Broadchoice, we're exploring the use of Groovy, Spring, and Hibernate in combination. The first step in building a system using this stack is creating an Eclipse-based environment in which we can write and test our code. To help people do this, I've published a Google document entitled Creating an Eclipse-based Groovy Development Environment for TDD.

As it doesn't contain any "technical secrets" (we don't really have the concept of a technical secret at Broadchoice!), I thought it'd be handy to share it with the world.

I've still got more to document, including how to integrate TestNG tests with Spring and how build (and effectively test!) a Hibernate-enabled Groovy+Spring project. A lot of this is the result of reading multiple books and a good deal of Googling / piecing together information, so I hope you enjoy it in distilled, ready-to-consume formats!

Related Blog Entries

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Robert Myers's Gravatar Just a side-note. Started to receive the emails of these blog comments, and unfortunately the message gives no clue as to who the Author of the blog article is, and sense there are multiple Bloggers contributing to this one blog...well, I think this needs to be fixed. As always, thanks in advance!
# Posted By Robert Myers | 8/6/08 12:18 PM
Dan Vega's Gravatar I have been looking at Groovy and this going to make getting started that much easier. Thanks for the short and easy quick start guide!
# Posted By Dan Vega | 8/6/08 12:25 PM
Raymond Camden's Gravatar Robert - do you mean Comment Emails or do you mean Subscriber emails? Comment emails obviously show the name of the commenter. If you mean subscriber emails, then your suggestion makes sense and I'll add it to BlogCFC.
# Posted By Raymond Camden | 8/6/08 12:32 PM
marc esher's Gravatar now that's service.

thanks for the comment subscribe feature, ray!
# Posted By marc esher | 8/6/08 1:25 PM
Sean Corfield's Gravatar @Robert, ticket #2052 (so we can track the change). It will either go live with 2.0.8 (some time next week) or 2.0.7.2 (if Ray gets it done quickly enough to make that hot fix release, scheduled for tomorrow).
# Posted By Sean Corfield | 8/6/08 1:42 PM
Sami Hoda's Gravatar I'd be more interested to learn why you guys ended up choosing Groovy. Spring and Hibernate, instead of going straight with a traditional CF + Framework + ORM route. What limitations did you hit, what gains did you make?
# Posted By Sami Hoda | 8/6/08 3:12 PM
Joe Rinehart's Gravatar Certainly a valid question, Sami. If you don't mind, I'll answer it in another blog entry, as I think it's worth a full discussion.

The one-line answer from my end is: clustered caching, capabilities of other Java frameworks for which there's no CF equivalent, and creating a more easily distributable (no license fee) JEE application.
# Posted By Joe Rinehart | 8/6/08 3:47 PM
Sammy Larbi's Gravatar "we're exploring the use of Groovy, Spring, and Hibernate in combination"

What didn't you like about Grails?
# Posted By Sammy Larbi | 8/6/08 6:43 PM
Sean Corfield's Gravatar Ticket #2052 has been completed and merged to the production SVN branch so that fix will go live at part of 2.0.7.2 tonight.
# Posted By Sean Corfield | 8/6/08 7:13 PM
Todd's Gravatar For all interested, I set up the development stack from the Google Doc using Genuitec's free Pulse service (www.poweredbypulse.com) and you can install it by clicking this URL. Don't know how the HTML will come out, but here goes:
<a href="http://www.poweredbypulse.com/profile_detail.php?blueprint_id=rcb-17555&realm_id=2">
   <img src="http://www.poweredbypulse.com/images/pulse-blue.png" alt="Check out Pulse" border="0">
</a>

Should save everyone some time running down plugins and figuring out configurations. FYI, you can set up your own software stacks with Pulse and share them as well.

Todd
# Posted By Todd | 8/8/08 11:42 AM
Doug Hughes's Gravatar Joe - Why do you prefer testNG when Groovy has Junit integration built in?
# Posted By Doug Hughes | 8/18/08 10:57 PM
Sean Corfield's Gravatar I won't speak for Joe but I will point folks at this article comparing JUnit and TestNG:

http://www.ibm.com/developerworks/java/library/j-c...
# Posted By Sean Corfield | 8/18/08 11:22 PM
Shawn's Gravatar the link to "Creating an Eclipse-based Groovy Development Environment for TDD" is not accessible.
# Posted By Shawn | 9/2/08 3:21 AM
Sean Corfield's Gravatar @Shawn, it seems to be working just fine. The Google Doc is "Published". Can you try again and if you have problems, provide more detailed information about the problem you're having?
# Posted By Sean Corfield | 9/2/08 1:44 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.1. Contact Blog Owner