An Introduction To Jasper Reports Bands

Jasper Report is an awesome open source Java reporting tool. It is used to generate dynamic reports using .jasper or JRXML file. Jasper report contains several bands: Title: This band is printed only once at the beginning of the generated document. Page Header: This...

Dynamicity of Groovy

Groovy is one of the famous JVM based language which come up with a lot of groovier functionality in it. Groovy provides a great feature : Metaprogramming at run time and this is what i am calling Dynamicity of Groovy. Do not confuse with Dynamically Typed languages...

SIM808 Hardware Design -Blog

  Hi, lets talk about some IoT. I have found a very useful module which is working as a combo module for GPRS and GPS and its a complete positioning module just need few interfacing designs, that i am going to discuss in the following blog of mine. The blog...

Integration With Jawbone OAuth in Grails.

Goal: Integration with Jawbone OAuth in Grails. Hi Guys! I would like to share with you a very interesting way to connect with Jawbone, which I found when I need to implement this with my application. To achieve this follow below steps: Step 1 : Visit Jawbone...

Grails Goodness:Multiple BootStraps file

In Grails if we want to execute code on application startup and stop time . We just need to write our code in grails-app/conf/BootStrap.groovy file.Here we have two closure. 1. init  :- Here we write code that we have need to execute at application startup time....

Integration With Yahoo Using Grails OAuth Plugin

I am back with a new OAuth blog, topic: Integration with Yahoo using Grails OAuth Plugin. So far, we have successfully integrated various OAuth providers in our application: 😎 Facebook Google (OAuth 1.0) Google (OAuth 2.0) LinkedIn Twitter Let’s try one more...

Harnessing the power of groovy

This blog post “Harnessing the power of groovy” demonstrates the power of groovy language. In java, what could take 10-15 lines, in groovy we can achieve it using 1-line code. Multiply Each Number by 2 (1..10).collect{it * 2} Adding numbers in a list...

Xml validation against xsd

Validates the XML document against the specified XSD document. XSD document are “XML Schema” that describe the structure of a XML document. The validator identify given XML file must be parsable using a DOM/SAX parser, and only then it will validate your...

Object Oriented JavaScript

OOP’s is one of the most popular ways in field of programming. Before OOP’s, list of instructions will be executed one by one. But in OOP’s we dealing with object that communicate to each other. JavaScript supports OOP’s but not in the same way as other...

IReport tips and tricks

I have faced some configuration problem when I started work on iReport. I want to share some suggestion for you guys. Hope it will help you to understand iReport configuration in better way. Set java path for IReport When we install ireport in Ubuntu then we need JRE...

MultiMethod: Method dispatching in Groovy and Java

We know polymorphism is a fundamental concept in Java and groovy supports this concept as well but in enhanced way, do you think how? let us take an example: class MultiMethodDemo{ int multiMethod(String arg){ return 1 } int multiMethod(Object arg){ return 2 } public...

Post On Facebook Wall Using Grails OAuth Plugin

We have published a blog on Integration With Facebook Using Grails OAuth Plugin through which a user can authenticate with Facebook and get some user information. Now one common requirement is post some message or share some link on Facebook. We can easily achieve...

Memoization in Groovy

Hi Guys! I would like to share with you a very interesting concept of groovy that I learnt in the Grails Conference I attended last week. The concept is “Memoization in Groovy”. I didn’t hear about Memoization before. I found it quite interesting....

Accessing Domain Constraints:Grails

Constraints provide Grails with a declarative DSL for defining validation rules, schema generation and CRUD generation meta data. For example, consider these class User { String username String password String email int age static constraints = { username size: 5..15,...

Data Transfer Object(DTO) in grails

Data transfer object (DTO) is an object that carries data between processes. Working with a remote interface where each call to it is expensive. Response to each call should bring as much data as possible so if multiple request are required to bring data for a...

Liquibase Basics

Liquibase is an open source technology for tracking, managing and applying database schema changes. All changes to the database are stored in XML files in the form of change-sets and is identified by a combination of an “id” and “author” tag....