• submit to reddit
Hubert Klein Ikkink05/12/14
3476 views
0 replies

Groovy Goodness: Use Sortable Annotation to Make Classes Comparable

Since Groovy 2.3 we can use the @Sortable annotation to make a class implement the Comparable interface.

Hubert Klein Ikkink05/11/14
5176 views
0 replies

Groovy Goodness: BaseScript with Abstract Run Script Method

Since Groovy 2.3 we can apply the @BaseScript annotation on package and import statements.

Hubert Klein Ikkink05/09/14
5445 views
0 replies

Groovy Goodness: More Efficient Tail Recursion With TailRecursive Annotation

Since Groovy 1.8 we can use the trampoline method for a closure to get better recursive behavior for tail recursion.

Hubert Klein Ikkink05/08/14
4822 views
0 replies

Groovy Goodness: Use Builder AST Transformation for Fluent API

Since Groovy 2.3 we can easily create a fluent API for our classes with the @Builder AST transformation.

Alex Staveley05/07/14
7830 views
0 replies

Groovy Closures: this, owner, delegate Let's Make a DSL.

Groovy closures are super cool. To fully understand them, I think it's really important to understand the meaning of this, owner and delegate.

Hubert Klein Ikkink05/07/14
3724 views
0 replies

Groovy Goodness: Extra Methods for NIO Path

Groovy adds a lot of extra methods to the File object to work with the contents or find and filter files in a directory.

Alec Noller05/06/14
15394 views
0 replies

Dev of the Week: Dustin Marx

Every week here and in our newsletter, we feature a new developer/blogger from the DZone community to catch up and find out what he or she is working on now and what's coming next. This week we're talking to Dustin Marx, software developer, writer, and presenter.

Hubert Klein Ikkink05/06/14
6837 views
0 replies

Groovy Goodness: More Efficient Tail Recursion With TailRecursive Annotation

Since Groovy 1.8 we can use the trampoline method for a closure to get better recursive behavior for tail recursion. If we apply the annotation to our method with tail recursion the method invocations will be sequential and not stacked, like with the closure's trampoline method.

Craig Matsumoto05/06/14
3601 views
0 replies

vIPtela Brings SDN & Security to the Disaggregated WAN

Startup vIPtela sees opportunity in using software-defined networking (SDN) principles to unify WAN connectivity, as it’s announcing its products today with claims that it’s in production with at least one large enterprise and running proofs-of-concept with three others.

Hubert Klein Ikkink05/03/14
4447 views
0 replies

Grails Goodness: Using Aliases as Command Shortcuts

In Grails we can add aliases for standard Grails commands with the alias command.

Robert Greathouse04/30/14
7290 views
0 replies

Groovy Database Resource Handling

This post contains a simple example of using Groovy Categories to help manage the resource management of database connections. There are a lot more robust solutions (ie: GORM), but sometimes you only need a quick implementation.

Benjamin Ball04/28/14
15380 views
0 replies

The Continuous Delivery Toolchain

Unless your software is very simple, no single tool or pipeline implementation will provide you with Continuous Delivery. Effective Continuous Delivery requires an organizational understanding of the intent and purposes of the activities you undertake, not merely the automation of those activities.

Hubert Klein Ikkink04/27/14
4867 views
0 replies

Groovy Goodness: Restricting Script Syntax With SecureASTCustomizer

We can for example incorporate a Domain Specific Language (DSL) in our application where the DSL is expressed in Groovy code and executed by GroovyShell

Hubert Klein Ikkink04/26/14
4164 views
0 replies

Groovy Goodness: Define Compilation Customizers With Builder Syntax

Since Groovy 2.1 we can use a nice builder syntax to define customizers for a CompileConfiguration instance.

Sarah Ervin04/25/14
8213 views
0 replies

nginx Releases 1.6.0 (Stable) and 1.7.0 (Mainline)

Yesterday, nginx released the stable version of 1.6.0 and the mainline edition of 1.7.0.