SpencerUresk

Random posts about Java, software development, politics, and economics

 RSS Feed

Add to Google Reader or Homepage

I’ve been developing a bunch of small Grails apps lately, and I end up deploying them to my production box fairly frequently. This is kind of annoying because the upload speed on my home internet connection is terrible - it sometimes takes 7 or 8 minutes to upload a new WAR and during that time, […]

I’ve been playing around with Grails and a bit of GWT lately, and it sure is a lot of fun. I’ve made some applications that use Grails, GWT, and GoogleMaps (see: Find A Wii Fit), and thought I’d write a quick tutorial on how to do it - it can be a little tricky.
This application […]

For some time, it has been one of my dreams to see Java-based web applications be more viable for small websites. This means two things: rapid development capabilities (like Ruby on Rails), and inexpensive, reliable, and economical hosting options.
For goal #1, Grails is clearly fitting the bill. I spent the last year or so developing […]

I couldn’t find any tutorials on how to use Amazon AWS with GroovyWS, so I took a few minutes to figure out how to do it. Here is some sample code:

import groovyx.net.ws.WSClient

def proxy = new WSClient(“http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl?”, this.class.classLoader)

def req = proxy.create(“com.amazon.webservices.awsecommerceservice._2008_04_07.ItemSearchRequest”)

req.searchIndex = ‘Books’
req.keywords = “Groovy and Grails”

def search = proxy.create(“com.amazon.webservices.awsecommerceservice._2008_04_07.ItemSearch”)

search.AWSAccessKeyId = “your id here”
search.request.add(req)

def res = […]