Grails, iOS

Push Notification in IOS Using Grails

Hi All, In my previous blog . I have explained how to send the push notification to Android Device. Now, it's time to see how we can send push notification to iOS devices. For sending Push Notification in iOS I have used JavaPNS_2.2.jar . So before, directly jumping on example we should know that what are prerequisites of...

by madhav.khanna
Tag: Grails
31-Jul-2015

Android, Grails

Push Notification in Android Using Grails

Hi All, I had a use case where I need to send the push notification to Android Device using Grails Application. For sending push notification I have used the Android GCM plugin. So, before going further we should know what is push notification and how it works. Push Notification : It is a message or events delivered by a...

by madhav.khanna
Tag: Grails
31-Jul-2015

Technology

Perform any DB operation in an isolated transaction

Hi Friends, Sometimes we need to perform any DB operation in between a transaction, but due to transaction's property, it's getting committed only once the parent transaction will be finished. If you need to perform any operation that need to be committed immediately, irrespective of parent transaction (Example : for a dependent...

by Anil Agarwal
Tag: Grails
28-Jul-2015

Grails, Technology

Grails Filter at top of Filter Invocation Chain

Sometimes in a web application we need filtering on request to a resource or on response, or on both. In Grails, it could be done easily via creating a filter. Just run grails create-filters [filter-name] and it will generate a filter in the application. To run a filter before all other filters, just put that filter at top of other...

by Sandeep Poonia
Tag: Grails
27-Jul-2015

AWS, DevOps

AWS CodeCommit

AWS has recently launched a new service which is now available generally. AWS CodeCommit is the service we would be talking briefly about in this blog. AWS CodeCommit hosts private Git repositories. You can Store code & any other type of file with AWS CodeCommit. It follows Git standards & can be used with other  tools for...

by Ranvijay Jamwal
Tag: Grails
25-Jul-2015

Grails, Technology

When details in principal object of spring security are not sufficient

Sometimes we need to access details of current logged in user but that will be an additional database query. To save that query we can use principal object of Spring security which provides details of logged in user . But by default principal object have few fields like id, username and password. If we need to access user's name /...

by Lovin Saini
Tag: Grails
24-Jul-2015

Technology

Override login and logout of Spring Security in Grails

What if our use case is to perform any custom task for login and logout while keeping the beauty of spring security intact. My use case was to make a third party SOAP API call to perform login/logout sending user's detail as parameter. Override Login Write own Authentication Provider class that extends...

by Aman Mishra
Tag: Grails
23-Jul-2015

Grails, Technology

Externalize and reload grails Log4j configuration

In Grails 2.x and in some earlier versions, the log4j configuration resides in grails-app/conf/Config.groovy. We can modify log4j closure here to add new categories and tweak the log levels. In development environemnt any changes to log4j closure are loaded automatically without bouncing the application, but not when the application is...

by Sandeep Poonia
Tag: Grails
01-Jul-2015

AWS, Grails

Cloud Infrastructure Monitoring Using Datadog

Infrastructure monitoring in the cloud is the topmost priority for any application running in the cloud. This includes monitoring the web servers, databases, applications & various tools being used. Datadog not only provides monitoring but also has alerts integrated so that you get notified for certain type of issues which occur. For...

by Ranvijay Jamwal
Tag: Grails
29-Jun-2015

Automation Testing, Grails

Automatically run test suites and coverage reports for open-source grails projects using Travis CI and coveralls

Automated testing helps a lot in maintaining the quality of code. But setting up CI environments like Jenkins may seem like a hassle if you are working on small projects. Luckily for us there is a simple solution, at least for open-source projects hosted(or mirrorred) on github. Travis CI is a service freely offered to make builds...

by Aseem Bansal
Tag: Grails
05-Jun-2015

Grails

Day 2 @GR8Conf EU 2015

Day 2 at GR8Conf EU June 2015 Copenhagen, Denmark continued to beintriguing and fun filled. The Day started with the keynote from Jeff Scott Brown on Grails and its future plan. He shed light on Grails 3.0 features and its releases plans. He also asked for contribution to migrating plugins from Grails 2.x to Grails 3.0.  In his...

by Sachin Verma
Tag: Grails
05-Jun-2015

Grails

Day 1 @Gr8Conf EU 2015

The day one at GR8Conf EU June 2015 Copenhagen, Denmark was really awesome. It started at the IT-University with a jam packed hall full of eager registrants with a welcome note from Søren with a history of how the Gr8 conf started. Then, Gulliame went through the state of affairs around Groovy & Grails and addressed the...

by Sachin Verma
Tag: Grails
04-Jun-2015