Grails

Manage javascript library dependencies via bower in Grails

I loved the way node package manager loads and manage the JS dependencies, thought of doing that in my grails project as well. Until now all our third party JS files used to live with our source code. So loading them the way Maven loads Jar dependencies for us is what we are going to […]

Amit Jain
Amit Jain
Read

Grails

Email Tracking using MailGun with Grails application

Many times we need to track whether the email is open/deliver/read by users, sent from our application. After analyzing, I concluded that MailGun provides email tracking services that i used with my grails application and thought it worth sharing. There are two ways to send messages using MailGun: #1. HTTP API #2. SMTP I have […]

Grails

JSOUP for the Grails Soul

So you have a requirement that needs you to work with real world HTML. Crawl the webpages, fetch the data desired and feed it to your perpetually hungry for information database. What do you do? You approach your friend Google, tell him what’s troubling you and ask him to make your life easier as it’s […]

kartikey
kartikey
Read

Grails

Using Spring Events in Grails

Hi all, I have published a new blog post Using Spring Events in Grails. Spring Events are basically used to perform events asynchronously. In my use case I need to save hundreds of records in the database. So I use Spring Events to save records asynchronously. There is a plugin available in Grails for using […]

Grails

Testing WebService using SoapUI

For the last several months, I was developing Web services for an external client. Then I came up with the need to test the SOAP services. Initially the easy way to go for me, I developed my custom application for testing it. But testing for different scenario becomes pain with that, So I was looking […]

Grails

Uploading a file using only Ajax

We often need to upload a file without refreshing page or even before user submits the complete form. We have been using flash uploaders or i-frames to achieve that. However now it is possible to upload a file using only ajax and javascript. The first thing we need is a HTML form that will allow […]

Grails

Marshall JSON and XML in your own way

Has there been instances when you wished to exclude certain properties while generating JSON object from a POJO and felt we had no control over it? Recently I was stuck with the same requirement and that’s what we are going to discuss in this blog post. Lets say, I have a “User” class as given […]

jeevesh
jeevesh
Read

Grails

Adobe CQ5 integration with Apache CXF

In this post I’ll discuss how to integrate Adobe CQ 5.6.1 with Apache CXF. This post is based on the discussion in adaptTo() conference 2011. Brief Introduction to Apache CXF “Apache CXF is an open source services framework. It uses JAX-WS and JAX-RS APIs so that it can handle a variety of protocols such as SOAP, […]

Grails

Using Groovy’s HTTP Builder Library

In my Grails app project, I had a requirement to make an HTTP call from the server’s end. After a lot of searching, I found some old fashioned Java code to achieve what I was looking for. But I was looking for something more clean, concise and more importantly a groovier way of doing it. […]

jeevesh
jeevesh
Read
Services