Webcam Chat QuickBooks Advice international calling cards international phone cards
JavaBeat Java Books Certifications Certifications Kits Articles Tutorials Tips QNA Book Store Interview Questions SCJP 1.5 SCJP 1.6 SCWCD 5.0 SCBCD 5.0 SCEA SCJA Feeds

What is Groovy?

Groovy is an object-oriented programming language for the Java platform. It is a dynamic language with features similar to those of Python, Ruby, Perl, and Smalltalk. It can be used as a scripting language for the Java Platform.

Title : Exiting Blocks and Methods in Groovy
Author : ManningPublications
Date : Tue Apr 26th, 2011

Although it's nice to have code that reads like a simple list of instructions with no jumping around, it's often vital that control is passed from the current block or method to the enclosing block or the calling method or sometimes even further up the call stack. Just like in Java, Groovy allows this to happen in an expected, orderly fashion with return, break, and continue statements and, in emergency situations, with exceptions. Let's take a closer look.

Title : Objects in Groovy
Author : ManningPublications
Date : Tue Apr 26th, 2011

In Groovy, everything is an object. It is, after all, an object-oriented language. Groovy doesn't have the slight fudge factor of Java, which is object-oriented apart from some built-in types. In order to explain the choices made by Groovy's designers, we'll first go over some basics of Java's type system. We will then explain how Groovy addresses the difficulties presented and, finally, examine how Groovy and Java can still interoperate with ease due to automatic boxing and unboxing where necessary.

Title : Treating POJOs like POGOs
Author : ManningPublications
Date : Fri Apr 8th, 2011

POGOs have more capabilities than POJOs. For example, all POGOs have a map-based constructor that is very convenient for setting properties. The interesting thing is that, even if a class is written in Java, many of the same conveniences apply as long as it is accessed from Groovy.

Title : Introduction to Groovy Server Pages (GSP)
Author : AnithaKumari
Date : Fri Feb 18th, 2011

This article is about Groovy Server Pages basic concepts. Groovy Server Pages (GSP) is a view technology which can be used for designing web application using Grails Framework. Developing GSP are very much similar to that of designing web pages with Active Server Pages (ASP) and Java Server Pages (JSP) but coding is very much simpler and easier than both of them. Users are provided with facility of having static, dynamic as well as mix of both contents at a time in a single application. The output can be dynamically rendered to different forms like : HTML, XML, text and any other format based on Web client request object.If you are beginner in learning groovy, please read Introduction to Groovy - Scripting Language.

Title : Groovy for Domain-Specific Languages
Author : PacktPub
Date : Fri Oct 8th, 2010

The Java virtual machine runs on everything from the largest mainframe to the smallest microchip and supports every conceivable application. But Java is a complex and sometimes arcane language to develop with. Groovy allows us to build targeted singlepurpose minilanguages, which can run directly on the JVM alongside regular Java code. This book provides a comprehensive tutorial on designing and developing miniGroovybased Domain-Specific Languages. It is a complete guide to the development of several miniDSLs with a lot of easy-to-understand examples. This book will help you to gain all of the skills needed to develop your own Groovy-based DSLs.

Title : Groovy Interview Questions and FAQs
Author : JavaBeat
Date : Thu Aug 5th, 2010

Groovy Interview Questions and FAQs

Title : Templates in Groovy
Author : Raja
Date : Sun Apr 6th, 2008

In this article, we will expose the various APIs for processing Templates in Groovy. A template can be thought of some static content along with some well-defined place-holders. These templates can be re-used any number of times by simply copying it and substituting the place-holders with some appropriate values. The first section of the article concentrates on the various types of Template Engines available in Groovy. And the later section of the article guides you in using the Template API. This is not an introductory article about Groovy, so novice readers can read the introductory article Introductory Article on Groovy before continuing with this article.

Title : Closures in Groovy
Author : Raja
Date : Sat Apr 5th, 2008

In this article, let us look into one of the important features supported in Groovy, the Closures. Groovy is an object-oriented scripting language in which the syntax resembles Java. Not all languages support the concept of Closures directly, although they may provide indirect support, that too with so many limitations and restrictions. This article will make you familiar with the concepts of Closures and will provide considerable amount of code snippets to make the understanding clearer. This article assumes that the reader is having sufficient knowledge in Groovy Programming and first-time readers may look into the Introductory Article on Groovy before proceeding with this article.

Title : Web Development in Groovy using Groovlets
Author : Raja
Date : Sun Dec 9th, 2007

In this article, we will learn about how to achieve Web Development using Groovy. Groovy is a scripting language and it has components called Groovlets which sit on top of a Web Server for handling HTTP Requests and Responses similar to Java Servlets. This article will provide an overview about Groovlets in the first section and will present several code snippets that will help in simplifying the usage of Groovlets in the subsequent sections. Remember, this is not an introductory article on Groovy and first-time readers are strongly advised to have a look over the Introductory article on Groovy .

Title : Integrating Spring and Groovy
Author : Christy
Date : Sat Oct 20th, 2007

Spring makes it easier to provide integration support for scripting languages. The currently supported scripting languages are Groovy, JRuby and BeanShell. However, this article concentrates only on Spring's support for the Groovy language. Plenty of code samples are given in each section for much clarity. The article assumes that the reader is comfortable in both Spring and Groovy concepts.

Title : Introduction to Groovy - Scripting Language
Author : Raja
Date : Mon Jun 18th, 2007

Groovy is an Object Oriented Scripting Language which provides Dynamic, Easy-to-use and Integration capabilities to the Java Virutual Machine. It absorbs most of the syntax from Java and it is much powerful in terms of funtionalities which is manifiested in the form Closures, Dynamic Typing, Builders etc. Groovy also provides simplified API for accessing Databases and XML. Groovy language is large in terms of functionalities and concepts and this article provides only the basic Introduction and Information about Groovy. The first section of the article concentrates on the very basic concepts and theories of Groovy like Declaring Variables, Flow Control and Looping Structures. Then the next section focusses on Declaring Classes, Objects, Methods and the different ways of accessing them in Groovy. Covered in depth are the most exiting Groovy Closures. Finally the article explored the Groovy Distribution along with the various available Utilities.

Related Articles


JavaBeat Website (2004-2011), India
javabeat | advertise | about us | contact | useful resources
Copyright (2004 - 2011), JavaBeat


Technology Blogs
Technology blogs Technology Blogs
blog log