Tag Archives: Groovy

CRUD Operations in Gaelyk- Part 2- Read Operation

June 24, 2012

1 Comment

In our previous post we saw about implementing Create operation for creating a new entity and persisting to the database. In this article lets see how we can retrieve all the entities stored in the datastore. This would be the Read operation from the CRUD operations in Gaelyk Read- CRUD Operations in Gaelyk We would [...]

email

CRUD Operations in Gaelyk- Part 1- Create Operation

June 23, 2012

1 Comment

We have seen here and here on creating simple mashup using Gaelyk. In this series of articles lets see how we can implement CRUD operations in Gaelyk. CRUD Operations in Gaelyk would involve: Create an entity Read an entity Update an entity Delete an entity In this article we will look at creating an entity [...]

Developing Groovy based web application and deploying to Google App Engine

June 5, 2012

4 Comments

We have seen how to develop a ZK based application and deploy it to OpenShift. Google has also a Paas offering called Google App Engine(GAE) which supports Java, Python and Dart applications. Gaelyk is a simple Groovy based toolkit to develop and deploy application to GAE. In this article lets build a simple Gaelyk based [...]

Using JsonSlurper Groovy API from Java to parse JSON

May 3, 2012

1 Comment

We have seen here on how to parse JSON in Java using Gson and here on how to parse JSON in Groovy. I also touched upon in brief about Groovy here. The beauty of these JVM languages is that one can invoke these APIs from Java, the only requirement is that you need to have [...]

Parsing JSON using Groovy

April 30, 2012

3 Comments

In our previous post we saw how we used Gson API to parse the Json using Java. Not spending too much time on the introduction, I would want to straight away dive into the same parsing which can be done using Groovy language. Groovy is a scripting language which runs on the JVM. It can [...]

Exiting Blocks and Methods in Groovy

April 26, 2011

0 Comments

This article is based on Groovy in Action, Second Edition, to be published on Summer 2011. It is being reproduced here by permission from Manning Publications. Manning publishes MEAP (Manning Early Access Program,) eBooks and pBooks. MEAPs are sold exclusively through Manning.com. All pBook purchases include free PDF, mobi and epub. When mobile formats become [...]

Objects in Groovy

April 26, 2011

0 Comments

This article is based on Groovy in Action, Second Edition, to be published on Summer 2011. It is being reproduced here by permission from Manning Publications. Manning publishes MEAP (Manning Early Access Program,) eBooks and pBooks. MEAPs are sold exclusively through Manning.com. All pBook purchases include free PDF, mobi and epub. When mobile formats become [...]

Groovy Interview Questions and FAQs

August 5, 2010

0 Comments

Groovy Interview Questions and FAQs – 1 What is Groovy? Groovy is a powerful high level language for the Java platform which compiles down to Java bytecode. Think of it as a Ruby or Python like language that is tightly integrated with the Java platform – allowing you the same powerful and concise coding syntax [...]

Templates in Groovy

April 6, 2008

0 Comments

1) Introduction 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 [...]

Closures in Groovy

April 5, 2008

0 Comments

1) Introduction 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 [...]