Groovy Development Environment
Groovy requires Java, so you need to have a version available (while groovy 1.6 supports JDK 1.4 or greater, for groovy 1.7 onwards, minimum JDK 1.5 is needed)
Download the Groovy installer or binaries from the downloads page (http://groovy.codehaus.org/Download) and follow the installation instruction
- Set GROOVY_HOME
- Add GROOVY_HOME/bin to your PATH
- Set JAVA_HOME
Groovy uses a Java-like syntax which is dynamically compiled to Java byte code therefore Groovy can seamlessly work together with Java code and Java libraries. Groovy with Java make Groovy very powerful. When an application needs functionality that can’t be achieved with the existing Groovy libraries, the developer can still write Java code to achieve the goal and vice versa Java code can be converted to Groovy
Figure 1: Groovy on Java Platform
Groovy is like a super version of Java. It can leverage Java’s enterprise capabilities but also has cool productivity features like action, builders and dynamic typing.
Each time an object is created in Java it goes into the specific memory known as Heap. The member variables of class store in Stack (i.e. Last In First Out) and member variables will store in Heap.
Allocating of Memory in Stack is in run-time when method called it will push to stack and stack pointer increment, stack decremented if method got over.
Continue reading “Java Interview Reference Guide – Heap”
A Collection represents a group of objects known as elements. Collection framework is basically group of interface with some specific implementation to manage elements of collection. Continue reading “Java Interview Reference Guide – Collection Framework”
Event-driven architecture (EDA) is a push-based communication between publisher and consumer, which predominantly use for proactive notification in real time environment.
For e.g. Fraud notification from credit card Company, shipping, order fulfillment etc.
EDA use to communicate with consumer with minimum or no delay and avoid busy-wait thread stats. Continue reading “EDA – Event Driven Architecture”
Today’s application expects access of all business in enterprise environment regardless of application technologies, which require, seamless integration with desperate systems.
This integration can be achieved through wiring of desperate systems using Middleware technologies. Continue reading “Spring Integration: A lightweight integration Approach”
In this article I’ll introduce the basic coding that require to create JQuery DataTable using JSON passed by simple servlet.
DataTable is very powerful JQuery based grid with advance features which can be build in short span of time with customize features. Continue reading “How to create JQuery DataTable using JSON and servlet”