Some Groovy Little Tips

My favourite Groovy/Java/IntelliJ web presenter, Vaclav Pech, has a short 20min Parleys talk on using Groovy with IntelliJ.

What I found neat was IntelliJ’s ability to take a Java class, rename it as a Groovy one, then refactor all the annonymous inner classes.  I also learnt about the capabilities of Groovy, the part where a class gets defined as a Map.  Wonderful stuff.

Also neat, was showing how refactorings apply not only to Groovy and Java, but also to Scala code in the same project.

http://beta.parleys.com/#state=state_player&slide=7&id=354

Because I don’t use a social bookmarking service…

Nothing against them, but my blog is the most useful thing at present to record interesting sites that I may or may not read later.

To have hope that Scala can work in the enterprise: The Book Of JOSH – but more so to feel the state of where Java is.  Also the comments form a point of very interesting discussion.

To increase learnings in Spring through the use of a purpose built (Eclipse based) IDE: SpringSource Tool Suite

To learn Maven through all lessons learnt by others: Five tips for successfully deploying Maven

Of Cisco, Tcl and Java

Whilst busily reading up on Scala and Groovy and other languages that ran on the JVM, I had a thought with regard to the scripting language that the network architect at work now advises is included in the Cisco ISG/ASR’s.  Cisco now have the Tcl scripting language installed on the IOS.  One application is used to control phone IVR and voicemail systems which is a pretty neat feat. 

Tcl itself doesn’t seem to be much of a mystery language either and should be easy for anyone coming from another scripting language background.

There is a Jacl for the JVM as well and also a means to bring Java code to a Tcl interpreter via Tcl Blend.

You can use Tcl to script EXEC level commands on a router such show version and int fa0/0 type stuff as shown here.

There is also a Cisco article about getting started with Tcl on the routers.