| See also: |
| |
| View: | [ 2009 | 2008 | 2007 | 2006 | 2005 | 2004 | 2003 ] |
| Articles Examples | Presentations Weblogs |
- Practically Groovy: Ant scripting with Groovy by Andrew Glover - [Clicks: 81]
Both Ant and Maven rule the world of build processing, but XML is occasionally a less-than-expressive configuration format. In this second installment in his new series on the practical applications of Groovy, Andrew Glover introduces Groovy's builder utility, which makes it especially easy to combine Groovy with Ant and Maven for more expressive and controllable builds.
http://www-106.ibm.com/developerworks/library/j-pg12144.html - Dec, 2004 - Practically Groovy: Unit test your Java code faster with Groovy by Andrew Glover - [Clicks: 52]
Not long ago, developerWorks contributor Andrew Glover penned an article introducing Groovy, a new proposed standard language for the Java platform, as part of our alt.lang.jre series. Reader response was fantastic, so we've decided to launch this column to offer a practical guide to using this hot new technology. This first installment introduces a simple strategy for unit testing Java code with Groovy and JUnit.
http://www-106.ibm.com/developerworks/library/j-pg11094/ - Nov, 2004 - Build scripts with Groovy and Ant by Filippo Diotalevi - [Clicks: 65]
In nearly all developers' toolboxes, Ant is the standard build tool for Java applications, thanks to its open, standard, and multiplatform structure. Though it represents a great improvement in automating production of complex J2EE applications, the choice of using XML syntax to express build automation has shown some limitations and drawbacks. In this article, Filippo Diotalevi shows how to put together Ant and Groovy (the new JVM scripting language) to build a more flexible and powerful automation tool.
[Includes source code]
http://www.javaworld.com/javaworld/jw-10-2004/jw-1004-groovy.html - Oct, 2004 - Groovy, Java's New Scripting Language by Ian F. Darwin - [Clicks: 46]
When experienced Java developers first hear about Groovy, their first reaction often is, as mine was, "Oh, no, not another scripting language for Java." We already have, after all, JavaScript and Rhino, Jython, Jelly, BeanShell, JRuby, Tcl/Java, Sleep, ObjectScript, Pnuts, Judoscript, the Bean Scripting Framework (BSF)--which gives access to Perl, TK/Tcl and more--and many others. But other developers have been hoping for a scripting language with the power of Perl, Python, or Ruby but without having to re-learn everything from the ground up. Whichever camp you're in, I hope to show you enough of Groovy in this article that you will be interested to try it and to judge for yourself.
http://www.onjava.com/pub/a/onjava/2004/09/29/groovy.html - Sep, 2004 - Getting Groovy with XML by Jack Herrington - [Clicks: 37]
Jack Herrington just wants to access nodes in an XSL document by id and pull out values. With the typical Java DOM-parsing approach, it takes dozens of lines, complete with annoying casts. But by letting Groovy manage the ugly XML details, he shows how your Java code can be much prettier.
http://today.java.net/pub/a/today/2004/08/12/groovyxml.html - Aug, 2004 - alt.lang.jre: Feeling Groovy by Andrew Glover - [Clicks: 36]
I'll devote this second installment of the new alt.lang.jre column to getting to know Groovy. I'll start with some answers to the most obvious question about this new language (why do you need it?), and then embark on a code-based overview of some of Groovy's most exciting features.
http://www-106.ibm.com/developerworks/library/j-alj08034.html - Aug, 2004 - Groovin' with WebWork 2: Using Groovy as Actions by Christian Parker - [Clicks: 51]
Where do dynamic languages such as Groovy fit into our Java world? Christian Parker has found a niche, using Groovy as the language of choice for his WebWork 2 actions. In this article he discusses how he added support for Groovy in WebWork, and how he has a nice dev environment where he can simply change the .groovy action, and hit reload on his browser to see the changes!
http://www.theserverside.com/blogs/showblog.tss?id=GroovinWithWebwork2 - Jul, 2004 - Extend your Java Application with Embedded Languages by Jack D. Herrington - [Clicks: 51]
A scripting engine, built in the language of your choice, and embedded into your application can make a huge difference to your customers, who have concerns about extensibility. Even better, creating a scripting engine is easy and fun. See three versions of a spam filter engine built in Groovy, Jython, and BeanShell.
[Includes source code]
http://www.devx.com/Java/Article/21456 - Jul, 2004 - Scripting a Groovy Ant by Kevin Jones - [Clicks: 39]
Team up the Ant toolbox and Groovy scripting language for coding tasks. Part 2 of this two-part article looks at using Groovy to treat Ant objects the same as Java objects.
http://www.ftponline.com/javapro/2004_05/online/kjones_05_19_04/ - May, 2004 - Java Scripting Gets Groovy by Daniel F. Savarese - [Clicks: 29]
Do we really need yet another scripting language? With its Java-like syntax, Groovy for the JVM is looking to stand out as the standard scripting language for Java.
http://www.ftponline.com/javapro/2004_05/magazine/columns/proshop/ - Apr, 2004 - Groovy: First Contact by Michael W. Spille - [Clicks: 178]
TheServerSide is launching a Blogger Program that aims to get great blog content out to as many people as possible. Mike Spille has written the first piece to become a featured article in the Blogger Program. Mike has written an interesting, deep look into the Groovy scripting language.
http://www.theserverside.com/blogs/showblog.tss?id=GroovyReview - Mar, 2004 - Groovy - Scripting for Java by Mark Volkmann - [Clicks: 106]
... Groovy adds some features of the Ruby and Python scripting languages to Java. Features of Groovy include dynamic typing, closures, easy object navigation and more compact syntax for working with Lists and Maps. These features and more are described in detail in this article. ... This article doesn't cover every feature of Groovy, but it covers a large number of them. It assumes that you are familiar enough with Java syntax to be able to compare Java syntax to Groovy syntax.
http://www.ociweb.com/jnb/jnbFeb2004.html - Feb, 2004
- Groovy Sample Code - [Clicks: 107]
JSR 241 adopted Groovy as a Java-based scripting language. This page lets you try Groovy without having to install any software.
http://zamples.com/JspExplorer/samples/groovy.jsp - Apr, 2004
- Groovy = Ruby + Python + Java for the JVM by Rod Cope, James Strachan - [Clicks: 48]
One of Groovy's most powerful features is called Groovy Markup, a way to concisely define just about any hierarchical structure directly in your code. This session shows you how to take advantage of Groovy Markup and much more as we introduce the language in the context of a typical application. We'll show you how to build a GUI, execute Ant scripts in-line, access a database, read and write XML, and more in just a few lines of code. You'll leave the session with everything you need to know to start programming in the Groovyest language ever.
[OSCON 2004]
http://www.codehaus.org/~jstrachan/GroovyOSCon-2004.ppt - Jul, 2004 - Groovy = Java + Ruby + Python for the JVM by Rod Cope - [Clicks: 23]
One of Groovy's most powerful features is called Groovy Markup, a way to concisely define just about any hierarchical structure directly in your code. This session shows you how to take advantage of Groovy Markup and much more as we introduce the language in the context of a typical application. We'll show you how to build a Swing GUI, execute Ant scripts in-line, access a database, read and write XML, and more in just a few lines of code. You'll leave the session with everything you need to know to start programming in the Groovyest language ever.
http://www.denverjug.org/events/may2004.html - May, 2004 - Groovy. An Object Oriented Dynamic Language for the JVM by Ted Leung - [Clicks: 33]
http://www.sauria.com/presentations/Groovy%20SeaJUG%202004-03.ppt.pdf - Mar, 2004 - (PDF - 482 Kb) - Groovy by James Strachan - [Clicks: 29]
http://www.apache.org/~jstrachan/Groovy/Groovy.ppt - 2004 - (PPT - 140 Kb)
- Implementing Tapestry Component Methods with Groovy (Part I) by Michael Henderson - [Clicks: 52]
… Now that I'm working with Tapestry I've been itching to use scripting in this environment. Groovy has several features which make it ideal: 1. Java-like syntax; 2. Scripts can be compiled to classes; 3. Integration with Java class loading.
[Includes source code]
http://www.behindthesite.com/blog/C1931765677/E1676572401/index.html - Jul, 2004 - Exploring the Mysteries of Groovy Properties by Michael W. Spille - [Clicks: 18]
As promised, I've finally gotten around to wrapping up my experimentation with Groovy properties. The quick summary, for those with too much of a real life to read all 20 example code snippets: Groovy properties are a PITA, sometimes counter intuitive, and do little to help you in many common cases. In my opinion Groovy would be better off without them. And if they simply must exist, they need a major league overhaul.
http://jroller.com/page/pyrasun/20040331#exploring_the_mysteries_of_groovy - Mar, 2004 - Scala The Groovy Killer? by Carlos E. Perez - [Clicks: 16]
http://www.manageability.org/blog/stuff/scala-the-groovy-killer - Mar, 2004 - Groovy Syntax Fiddling: Closures by Michael W. Spille - [Clicks: 5]
http://jroller.com/page/pyrasun/20040322#groovy_syntax_fiddling_closures - Mar, 2004 - Groovy wish list by Cedric Beust - [Clicks: 10]
http://beust.com/weblog/archives/000102.html - Mar, 2004 - Groovy: First Contact by Michael W. Spille - [Clicks: 7]
http://www.jroller.com/page/pyrasun/20040321#groovy_first_contact - Mar, 2004 - JSR-241: Groovy - A New Standard Programming Language for the Java Platform by Richard Monson-Haefel - [Clicks: 14]
JSR-241: The Groovy Programming Language proposes the standardization of a new programming language for the Java Platform – one that is on equal footing with the Java programming language. Groovy is an agile, dynamic programming language like Python, Perl and Ruby, but it's designed specifically for the Java Platform and is completely interoperable with conventional Java programs. Groovy is not a replacement for the Java programming language; it’s a complement to that language. It fills a niche that is in demand by developers but is currently neglected by the Java Platform.
http://weblogs.java.net/pub/wlg/1125 - Mar, 2004