Saturday, June 11, 2011

Groovy, Frequently Asked Questions.

I have tried to explain what is JVM and Groovy in my last two posts(here and here). However still there may be questions about Groovy and JVM, in this post we will see the frequently asked question in Groovy language.

1)What is Groovy?
   Well it is an powerful dynamic language that can run on JVM(For more details click here)

2)Is it useful to learn this new language?
  Yes exactly it will be very useful if your a Java programmer and Groovy provide so many advantages to the Java language and its platform. To see what Groovy can offer, click here.

3)Am a experienced Java developer, whether i should learn Groovy?
  Ya your the correct person to start and learn Groovy.

4)How does Groovy runs on JVM?
    Simple, Groovy is converted into java bytecodes internally

5)Is it is possible to integrate Groovy with Java?
   Yes you can and it is very easy too.

6)List some of the Groovy powers?
  You can check here

7) Any frameworks that are built on this language?
   Ya Grails and Griffon are the famous framework that are built on Groovy language. However there are many frameworks apart.

8)Since Groovy is a dynamic programming language, performance issue will be there?
 Not exactly, since the newer version of Groovy 1.8 have Runtime performance improvements.

9)So whats new in Groovy 1.8??

  •  Nicer DSL's with comment chain 
  •  Closure enhancements
  •  Runtime performance improvements
  •  Built-in JSON support and many
10) Well show me a simple "Hello World" program in Groovy!!
         print "Hello World" // is it simple enough?? :D

I have answered few questions and also Groovy supports Domain Specification language(DSL's)   in a very concise manner, which is becoming popular in the recent days. And there is continuous improvements in efficiency of Groovy 1.9, which will be the next version (If you love Groovy then cheers :D)


Hope I have answered few things about Groovy, well comments are welcome. If you have other question regarding Groovy that are not mentioned here, you can post it with a smile :D

No comments:

Post a Comment