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

Groovy Goodness: Check Configuration Property Is Set In ConfigObject

When we use ConfigSlurper to read a configuration file or script we get a ConfigObject as return result.

Benjamin Ball05/12/14
14546 views
0 replies

DZone Research Cloud News Update (May 12)

Things continue to evolve in the Cloud industry every day. HP revealed their $1bn Helion open source cloud, ActiveState grows as a supporter of the Cloud Foundry project, Parse announced offline capabilities and simplified pricing, cloudControl releases new buildpacks, Kinvey launched a dedicated BaaS, and more.

Hubert Klein Ikkink05/12/14
3529 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
5216 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
5515 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
4887 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
8008 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
3785 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
15481 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
6895 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
3642 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
4469 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
7349 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
15666 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
4897 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