Imagine Java is extended with other capabilities this very instance-metaprogramming, closures, more fluent lightweight, and simpler syntax and API. That is what Groovy is. It will improve the programming experience and productivity of Java programmer by extending your Java language. If you want to create internal DSLs, you will find it pretty easy to do that with Groovy. If you want to take advantage of aspects, you can do that easily with Groovy. If you want to create processes or work with various other objects in JDK, you can do that easily with Groovy enhancements to JDK, the GDK.
Yes, you can intermix Java and Groovy. You can use (associate, aggregate, inherit from, delegate to...) Groovy classes in Java and vice versa. Groovy preserve Java semantics and you can not only intermix classes, you can also intermix Java code (for most part) in Groovy as well.
Originally posted by Mohammed Yousuff: Thats Really Sounds Great..
can you please explain me some of areas which Goovry helps better than java ...
Did Java is moving from platform independent to language independent (like Dot Net)...
[ April 11, 2008: Message edited by: Mohammed Yousuff ]
Not exactly. Your Groovy code gets compiled to a byte code which is your normal java class and this means that you can run it from your JVM. There are really a lot of places where I found Groovy to be easy and the obvious one would be Groovy is Simplified Java. You don't have to learn new syntax or new keywords. I'm really impressed with it.
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!