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...
View ArticleImplementing 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...
View ArticleUsing GrailsApplication in UrlMappings.groovy
As of the current version of Grails we are using (2.0.1), the grailsApplication bean is not available for use in the UrlMappings class. However, the UrlMappingsHolderFactoryBean implements...
View ArticleJAX-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...
View ArticleIssue 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: package mypackage; class MyController { // controller methods/closures/etc. // uses...
View ArticleIssue 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...
View ArticleGrails 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....
View ArticleSpringOne 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...
View ArticleGrails 2.3 Maven dependency caching issues
tl;dr version: Change BuildConfig.groovy to reference your local mavenRepo repository as: mavenRepo ("http://my.server/repos/my-grails-plugins") { updatePolicy 'always' } Long version: If you have...
View ArticleUsing 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...
View ArticleSpring 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...
View Article
More Pages to Explore .....