Change controller default url pattern in Grails

Hi friends I am back with a new blog is how to change a default pattern of controller names in URL. Let us consider case 1 : We have a controller by name of AdminController . I am looking to create a new alias “/reports” in URL for AdminController all...

Factory Pattern Approach in Java

I am back with a new blog post titled “Factory Pattern Approach in Java”. Recently I was developing pricing strategies for my web application and during the development I learnt that how factory pattern can be useful and efficient for such type of...

Useful maven commands for beginners

  Maven is a build automation tool used primarily for Java projects. The word maven means ‘accumulator of knowledge’ in Yiddish. Maven addresses two aspects of building software: First, it describes how software is built, and second, it describes its...

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...