Grails

Significance of “mappedBy” in Grails Domain

"mappedBy" is a static map which is used to determine and change the way two associated domain classes interact with each other. Let's start with the role of "mappedBy" in one-to-many relationships. Consider the following Example:- [code]class Team {     static hasMany = [members: TeamMember] }[/code]   ...

by Naman Gautam
Tag: Grails
06-Feb-2015

Grails, Technology

The Biggest Grails Conference in India – GrailsConf 2015!!!

We’ve been talking about it for a while and finally GrailsConf 2015 went fabulously well. It was an amazing conference, packed with sessions from an eminent lineup of speakers and over 160 participants who gathered at The Indian Habitat Centre, New Delhi. The gathering was of mostly Java and Groovy developers. I noticed many Java...

by Amit Jain
Tag: Grails
11-Jan-2015

Grails

Few tips for writing swift and effective unit test cases

To a beginner writing unit tests may seem to be an overhead and a low productive affair. But this could be due to the way he chooses to write tests. One can quite easily be productive at writing unit test cases as well. Following are a few things that I follow to write the spock unit tests cases in the grails application. I hope these...

by Imran Mir
Tag: Grails
05-Jan-2015

Grails, Technology

Grails unique constraint optimization part 2

In the previous blog Grails performance optimization - Unique constraint we have optimized Grails unique constraint. Now in this blog we will check another use case and will optimize unique constraint according to it. Suppose we have two domains having the following structure: [code] class Address { String addressLine1 String...

by Deepak Kumar Mittal
Tag: Grails
30-Dec-2014

Grails

Grails Stats

Here I am going to share one of the cool grails command that I discovered today i.e “grails stats”. This command provides basic statistics about the current grails application including the number of files and lines of code. So, I tried this command in my grails project and see what I got. > grails stats Anybody looking at...

24-Dec-2014

Grails

Groovy & Grails eXchange 2014, London: Day 1

The day finally arrived for which we crossed couple of continents. The onening day of the GGX conference went beyond our expectations and had just the right blend of enthusiasm from the presenters and the audience alike. All the while we were travelling to the venue, we had an inkling that something new was about to be experienced.. and...

by Chandan Luthra
Tag: Grails
12-Dec-2014

Grails

Restricting concurrent sessions for a single user using Grails and Spring Security

Restricting concurrent sessions for a single user is a very common requirement for any software tool which requires licensing based on number of users. You can read about how we can manage (or allow) concurrent sessions with Grails 2 using Spring security plugin in this awesome concise blog here. let us see how we can allow or...

by Dhanendra Kumar
Tag: Grails
04-Dec-2014

Grails

GrailsConf – Call for Papers is Open now

We're glad to announce the Call for Papers for GrailsConf 2015. Submit your talks about Groovy, Grails, Gradle, Spock and other GR8 technologies here. This is open for limited period of time so hurry up! About GrailsConf: Grails Conf is the biggest Grails Conference in India. It is an independent conference dedicated to the...

by Amit Jain
Tag: Grails
04-Nov-2014

Android, Grails

Day 4 at SpringOne 2GX 2014 | The Finale

The final day of SpirngOne 2GX went just like a Mega Finale where they kept best for the last. There were only 3 sessions today, but each one was like one of the best. Here the few highlights of the sessions #  Micro Service Architecture with Spring Boot and Groovy : Marco Vermeulen Beautifully explained the concept of micro...

by Uday Pratap Singh
Tag: Grails
12-Sep-2014

Grails

Day 3 at SpringOne 2GX 2014

Day 3 started sharp at 7:30 with the breakfast and then the sessions started from 8:30 AM and continued till 6:00 PM. The day was jam packed with varying sessions on Groovy, Grails, performance optimisation and the "Groovy puzzlers show" (Yes, it was a show ;) ). The highlights of the day were: #  Microservice Architecture With...

by Uday Pratap Singh
Tag: Grails
11-Sep-2014

Grails

Day 2 at SpringOne 2GX 2014

Day 2 kicked off and we had very really cool sessions planned around Groovy, Grails and Spring Boot. It was quite an experience listening to all the new features and changes coming over the horizon of Groovy and Grails. A quick excerpt of the day follows: # Groovy in 2014 and beyond : Guillaume Laforge Groovy trait took over the...

by Uday Pratap Singh
Tag: Grails
10-Sep-2014

Grails

Day 1 at Springone2gx 2014 | Opening night keynotes

The much awaited conference of the Java ecosystem "SpringOne 2GX" started in Dallas at the Omni Dallas Hotel with a jam packed hall full of eager registrants. The hall was fully packed pretty soon with 1000+ attendees and we talked to around 250+ people about IntelliGrape, Grails and the amazing work we do at IntelliGrape. We were amazed...

by Uday Pratap Singh
Tag: Grails
09-Sep-2014