Grails

Defining a bean by calling function on another bean

In Grails, We can define custom beans in resources.groovy. A simple bean definition looks like [java] myClass(MyClass) [/java] Read more about them here. Recently, I wanted to define a bean, where the bean’s constructor required me to call a method on another bean to be instantiated. To make it more clear, Let us consider a […]

Sachin
Sachin
Read

Big Data

Visualization using R and googleVis

We at IntelliGrape divide Big Data into four major sectors – as we commonly refer as 4C’s  of Big Data. These 4C’s are:- Capture (Data Ingestion) Contain (Data Persistence (NoSQL) Compute (Data Processing) Comprehend (Data Analytics and Visualization)   Within this blog, I’ll be focusing on the last pointer i.e. Comprehend part of Big Data – precisely […]

Mohit Garg
Mohit Garg
Read

Technology

How to get name initials as an image?

While making an application, showing user’s image is a very common use case. Gone were the days when we used to show anonymous image in case a person’s profile image or display image is not present.

Sakshi Tyagi
Sakshi Tyagi
Read

GrailsTechnology

Selenium Web Driver: An Introduction

Selenium WebDriver is a clean, fast framework for automated testing of webapps. Selenium WebDriver, a popular and well established testing framework is a wonderful tool that provides a handy unified interface that works with a large number of browsers and allows you to write your tests in almost every language you can imagine from Java […]

Gaurav Gupta
Gaurav Gupta
Read

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

Grails

Groovy Goodness – ReadWriteLocks

We often use synchronization. Imagine you have a use case in which there is some resource upon which writing is not done as much as compared to reading. So multiple threads should be able to read concurrently same resource without any problems. But if a single thread wants to write to the resource, for that all new […]

Android

Debugging Javascript on Android using Chrome

Nowadays almost all applications that we develop are made mobile friendly and a lot of times, everything works perfectly on desktop browsers but not on mobile. Even if we know it is some javascript that is not working as expected, it becomes quite difficult to narrow down on what is causing problem. As we cannot […]

Vivek Sachdeva
Vivek Sachdeva
Read

AWS

An Introduction to AWS Service Catalog

At re:Invent 2014 conference, Amazon unveiled a collection of new products, features, and services to the existing AWS services. And through this blog, let’s take a look at AWS Service Catalog, by leveraging the features of this service administrators can create and manage approved catalogs of resources that end users can then access via a […]

Ishant Kumar
Ishant Kumar
Read

Big Data

Hive Optimizations

Overview: The big data space has been evolving continuously and each day more technologies are added in ecosystem. Hadoop Hive is one of the technologies that has been around along. It’s give a SQL wrapper to execute Hadoop as a query language. Inherently, It’s having some of the optimizations techniques. Through this blog, I thought […]

Mohit Garg
Mohit Garg
Read