• submit to reddit
Hubert Klein Ikkink05/09/14
4802 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
4182 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
6389 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
3290 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
14148 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
6191 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
3077 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
4135 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
6584 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
12484 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
4490 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
3899 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
7391 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.

Hubert Klein Ikkink04/25/14
3936 views
0 replies

Groovy Goodness: Customize ToString Creation

The @ToString AST transformation has several parameters we can define to customize the generated code for the toString method.

Alec Noller04/23/14
9524 views
1 replies

Dev of the Week: Eric Schabell

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 Eric Schabell, JBoss Technology Evangelist for Red Hat and guest lecturer.