• submit to reddit
Abimaran Kugathasan05/24/14
7781 views
0 replies

Evil: Getters and Setters Where They're Not Required

We programmers keep our instance variables private and automatically add public setters and getters to them. This is the same as making the instance variables public. Why are we exposing our variables in this way?

Hubert Klein Ikkink05/22/14
5451 views
0 replies

Grails Goodness: Run Groovy Scripts in Grails Context

We can use the run-script command to run Groovy scripts within the context of a Grails application.

Alec Noller05/21/14
7683 views
0 replies

Dev of the Week: Roger Hughes

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 Roger Hughes, a software developer at Bet365 in Stoke-on-Trent, UK.

Alex Staveley05/20/14
3422 views
0 replies

The Magic of Groovy's with...

This post will show how the ability to set the closure's delegate allows the language to become quite expressive where other languages remain cumbersome and verbose.

Benjamin Ball05/19/14
12959 views
0 replies

DZone Research Continuous Delivery News Update (May 19)

Things continue to evolve in the DevOps industry every day. In this month's update, leading enterprises embrace web-scale IT automation with Chef, Bamboo 5.5 released instant access for Stash repos, IMB launched their impressive cloud marketplace (including Zend and others), and #ChefConf 2014 was a hit.

Alec Noller05/14/14
9712 views
0 replies

Devs of the Week: Andrew Lee Rubinger & Arun Gupta

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 Andrew Lee Rubinger and Arun Gupta, the authors of DZone's recent Java EE7 Refcard.

Hubert Klein Ikkink05/14/14
4589 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
14764 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
3637 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
5302 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
5646 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
5020 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
8389 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
3926 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
15706 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.