Tag Archives: groovy

Get the IP address for a host name in Groovy

I was playing around with some Groovy scripts and looking at some neat tip and tricks on how Groovy can simplify what would have taken a lot more code in Java. Here is one that came up with: print out … Continue reading

Posted in Groovy | Tagged , , , , | 1 Comment

Using Grails REST for authentication in an AngularJS SPA

Introduction I have played around with AngularJS for a few weeks now. I like how it provides for separation of concerns on the client-side that us server-side programmers prefer. I have built a couple of controllers that are retrieving data … Continue reading

Posted in AngularJS, Grails | Tagged , , , , , | 38 Comments

SpringOne 2GX Wrap-up

(I have been meaning to post this for a while, but life has caught up with me, including my company’s tech conference, where I was a speaker in one session and a panelist in another.) On September 9-12, I had … Continue reading

Posted in Grails, Groovy, Spring | Tagged , , , , , , , , , | Leave a comment

A Groovy temperature conversion with Categories

I have been getting more interested with the capabilities of the Groovy language since I have used it more and more as part of my daily work on a Grails web application. I have also been having some interesting conversations … Continue reading

Posted in DSL, Groovy, MOP | Tagged , , , , , | 5 Comments

Implementing a Grails required interstitial form page

Having shared functionality/pages across software modules in web application development seems to be a common occurrence (at least within the projects on which I am working) and is a problem that can be handled in a number of ways. Currently, … Continue reading

Posted in Grails, Groovy | Tagged , , , , , , | 3 Comments

Grails 2.0 mockFor() Gotcha

Update: When I was researching another Grails issue, I found out that what I encountered below looks to be fixed in Grails 2.0.1. I have yet to verify the fix, but if you also encounter this issue I urge you … Continue reading

Posted in Grails, Groovy | Tagged , , , , , , , , | 4 Comments

Web service clients – where Grails lost its mojo

I am working on a Grails 2.0.x application that needs to consume some web services. Simple enough, I have written many clients in the past, using Axis and Spring-WS in Java, and WCF in .Net. Almost everything I have done … Continue reading

Posted in Grails, Groovy, Java, Web Services | Tagged , , , , , , , | 13 Comments