• submit to reddit
Hubert Klein Ikkink03/25/13
4053 views
0 replies

Grails Goodness: Set Property Values of Spring Beans in resources.groovy

We can configure Spring beans using several methods in Grails. We can for example add them to grails-app/conf/spring/resources.xml using Spring's XML syntax.

Hubert Klein Ikkink03/20/13
3075 views
1 replies

Grails Goodness: Don't Invalidate Session After Logout with Spring Security Plugin

The Spring security plugin makes it easy to add authentication and autorization to our Grails application. The underlying Spring security framework is still accessible using Spring configuration and as a matter of fact the plugin uses a lot of the Spring security components.

Dustin Marx03/19/13
4367 views
0 replies

"Booting AMX" in GlassFish 3 with Groovy

This post demonstrates using Groovy to explore the standard JMX MBeans provided by the Java Platform as well as the AMX beans that GlassFish provides. The last Groovy code snippet invokes GlassFish's "bootAMX" operation to unleash significantly more GlassFish JMX-based monitoring and managing capabilities.

Hubert Klein Ikkink03/18/13
2603 views
0 replies

Grails Goodness: Use Constructor Argument Based Dependency Injection with resources.groovy

We can define extra Spring beans for our Grails application in grails-app/conf/spring/resources.groovy using a DSL. For example we want to use third-party classes as Spring components.

Hubert Klein Ikkink03/12/13
2871 views
0 replies

Grails Goodness: Conditionally Load Bean Definitions from resources.groovy

We can define new bean definitions in several ways with Grails. One of them is via the grails-app/conf/spring/resources.groovy file.

Dustin Marx03/11/13
4071 views
1 replies

Finding Properties in JARs with Groovy

In this post, I look at using Groovy to find a particular property in a properties file contained within a JAR.

Hubert Klein Ikkink03/07/13
2552 views
0 replies

Grails Goodness: Injecting Grails Services into Spring Beans

Every Grails service we create is also a Spring bean and in this blog post we see how we can inject a Grails service into a Spring bean we have written ourselves.

Kristina Chodorow02/28/13
23232 views
0 replies

Guide to Tech Interviews

I’ve been interviewing people for programming jobs for five years and I’ve recently gotten a look at the interview process from the other side. Here are some suggestions for acing tech interviews.

Mitch Pronschinske02/26/13
4044 views
0 replies

DZone Links You Don't Want To Miss (2/26/13)

Prepare for a deep, and critical performance review of Chrome along with some highly helpful principles for keeping your software simple. Plus, a huge Azure outage, another Linus Torvalds freakout, and a workplace with no bosses.

Hubert Klein Ikkink02/19/13
2414 views
1 replies

Groovy Goodness: Combining Annotations with AnnotationCollector

Groovy 2.1 introduces a new annotation to group multiple annotations and define an alias for the group. The new @AnnotationCollector annotation is an AST transformation

Hubert Klein Ikkink02/14/13
2626 views
0 replies

Groovy Goodness: Apply Mixin to Object Instances

In Groovy we can add extra functionality to a class with so-called mixins.

Mitch Pronschinske02/05/13
4093 views
0 replies

DZone Links You Don't Want To Miss (2/5/13)

A bunch of lecture videos just dropped for the programming languages course at Brown University. You'll also want to check out a new tool for changing website backrounds at will. Plus, you'll hear about a powerful new JS heatmap tool, the new release of Gradle, and more.

Hubert Klein Ikkink02/04/13
3740 views
0 replies

Groovy Goodness: Adding Extra Methods Using Extension Modules

Groovy 2.0 brought us extension modules. An extension module is a JAR file with classes that provide extra methods to existing other classes like in the JDK or third-party libraries.

Hubert Klein Ikkink02/01/13
3006 views
0 replies

Groovy Goodness: Append Values to Appendable Objects

Since Groovy 2.1 we have a couple of extra methods available for objects that implement the java.lang.Appendable interface. A lot of Writer objects implement this interface.

Bill Armstrong02/01/13
8728 views
2 replies

Weekly Poll: Spring Modules

For this week's poll, we wondered which modules were the most often used in the Spring framework. I've compiled a list of 28 Spring modules, and, this time, all you have to do is mark those you've used before.