Grails

Object based security using Spring Security ACL in Grails

Spring security is used to secure the URL and only authenticated user is allowed to access that. But sometimes we need to secure the java Class instances and here comes ACL to rescue us. Let’s see why we need object based security/ACL model. Suppose, there is relation “BankAccount” and 10 records exists for it. So […]

Anil Agrawal
Anil Agrawal
Read

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 technologies […]

Amit Jain
Amit Jain
Read

Grails

Map-Reduce in MongoDB

Map-reduce is a data processing paradigm for condensing large volumes of data into useful aggregated results. Basically, in MongoDB map-reduce contains two JavaScript functions map and reduce. The map functions emits key-value pair. And for those keys which have multiple values reduce function collect and condenses aggregated data. Let’s discuss the problem from one of […]

Puneet Behl
Puneet Behl
Read

Grails

Thumb rules, one must consider while HTML development

Some best practices that need to be followed by a HTML developer in grails web development that are important and useful while writing a code. 1. Follow semantic markup. Example: Semantically correct [java]<h2><a href="#">Heading</a></h2>[/java] Semantically wrong [java]<a href="#"><h2>Heading</h2></a>[/java] By default, there are two types of HTML elements, Block and Inline. Block level elements include divs, […]

AndroidGrails

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 […]

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 Grails […]

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 […]

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 […]

Grails

Grails Unit Test Filters with the injected Service

Recently I was writing unit tests for a filter in my project, which makes use of a service. Normally mocking using ‘metaclass’ and ‘demand’ doesn’t work for services in filter, because filters don’t let mock the service methods like we do in other classes or controller. Suppose we have a filter like: [java] class SomeFilters […]

Neha Gupta
Neha Gupta
Read
Services