What’s next

October 11, 2008

Smacking up a Groovy demo in less than 10 seconds

Filed under: Groovy — stigl @ 1:39 pm
Tags: , ,

Write mvn groovy:console , and you will get a console where you can execute Java/Groovy code by typing ctrl+enter/+enter.

If I were to learn a new language, or Java from scratch again in the University, This way of packaging would make a HUGE difference!

What next?

The sweet spot for using Groovy is

  • Familiarity to Java developers. Paste in your favorite Java code, and it will compile
  • Java classes are imported and used as normal
  • Strings, Files and many other standard classes have been extended with often-used functionality
  • Handling stuff on the file system – copying, deleting aso
  • Parsing XML in a nice DSL
  • Simple SQL/JDBC
  • Binding together a Java application

Resources

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: