Tag Archives: grails

Spring Security with Grails 3

I am a big user and advocate of Grails, and I was curious about working with Grails 3, so I started taking a look at it during the M2 release. Most of the applications I work on require authentication/authorization, and … Continue reading

Posted in Grails | Tagged , , , , , , | Leave a 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 , , , , , | 35 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

Grails cascade validation for POGOs

Recently, I have been working on some code that does not use any of the GORM capabilities in Grails, but instead controllers call to a service layer which interacts with web services hosted on an ESB. The domain classes that … Continue reading

Posted in Grails | Tagged , , , | 8 Comments

Issue with Tomcat deployment after Grails upgrade 2.0.1 -> 2.2.1

I have been in the process of upgrading all of our existing Grails applications from version 2.0.1 to version 2.2.1. On one particular project I upgraded earlier today, everything worked fine until I attempted to deploy the application to our … Continue reading

Posted in Deployments, Grails | Tagged , , , , , , , , , | 1 Comment

Issue with inner classes in Grails 2.2.0

I was working on a controller in a Grails 2.2.0 project, and it was a Groovy class structured something like this: I have used this pattern previously in Grails 1.3.7 and Grails 2.0.1, however when I invoked the closure which … Continue reading

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

JAX-WS and annotation overload

I have been utilizing JAX-WS to generate web service clients in my current Grails project. It is the best I have found so far in consuming SOAP-based web services within a Grails project. I do have one beef with the … Continue reading

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