Groovy Makes Java Better

Unable to load Flash player.

Click to Select

Do you like this entry?
Star Star Star Star Star

Rating: 3.74

Votes: 19


Date:
Monday, 27th October 2008

Views:
8103

Read 6 comments

Get this entry as an
iTunes podcast here

Description

The question is often asked: Can Groovy and Java interact? In this video, we'll see how this is done in NetBeans.

Author: Geertjan Wielenga

 

Comments

michael says:
Tuesday, 28th October 2008 00:02:19

Thanks. Aneat basic intro to lure potential new groovers (like me). Just having the implied getters and setters in groovy classes is enough to make me use it for all my simple data wrappers right now.


Ken says:
Tuesday, 28th October 2008 15:55:28

This is a quite simple demo. A big step can see the Netbeans support groovy. What I hope groovy@netbeans in the future is 1. groovy is groovy, don't bind with grails. 2. debug, 3. real auto-complete 3. more groovy and netbeans video tutorial 4. Netbeans Platform native support groovy. Really, Groovy can play around JAVA. I like it more than JR...because it haven't too much strange Symbol.


Geertjan says:
Tuesday, 28th October 2008 16:54:01

Thanks Michael for the comment, good idea about data wrappers. Ken, thanks for the comments too, but most of what you say doesn't make much sense. For example, there is no binding between Grails and Groovy. I'm not even sure what "groovy is groovy, don't bind with grails" means, but whatever it means, it isn't true.


Wilf says:
Tuesday, 28th October 2008 22:26:15

Why do you call .toString() after getting the text from the Groovy class? Also, in editor it would be nice to see what methods are real and synthetic. so that a method call found in the physical class is indicated differently than ones offered up to .methodMissing(..) That will help in debugging and make sure code is properly interpretable. The groovy support in Netbeans lacks refactoring support, and lacks debugging support. Otherwise its really Groovy and I hope to use it.


Add comment

Bookmark this page: Delicious Furl Simpy Slashdot Technorati Digg Digg

< Previous entry | Next entry >