gcontracts Status Update

I am currently working on the gcontracts 1.0.1 release [0]. Apart from bug fixes, that version contains an important feature you might have been tumbled over: class invariant checking...

Getting the Persistence Context Picture (Part III)

Part 3 of this series deals with more advanced topics, requiring knowledge about persistence patterns and Hibernate APIs. [0] Getting the Persistence Context Picture (Part I) [1]...

gcontracts Available in Maven Central Repository

gcontracts is finally available in Maven's central repository: http://repo2.maven.org/maven2/org/gcontracts/ To use gcontracts in your Maven project, define a dependency as this XML code snippet shows: ...

Integrating Groovy in Legacy Spring Applications

There are times when you have (or want ;-)) to integrate Groovy in a productive application or, in more complex applications, you just want to realize your application's controller and/or...

Getting the Persistence Context Picture (Part II)

The first article of this series [0] took a look at the basic patterns found in todays persistence frameworks. In this article we will have a look at how...

gcontracts 1.0 released

I am happy to tell you that gcontracts version 1.0 has just been released and is available for download on github, licensed under BSD. Bugs, enhancements and feature requests should be...

Contracts in the Domain Model

This blog-post gives a brief introduction to contract-oriented programming aka design by contract in general and in relation to Groovy with gcontracts assertions. The Problem With each Grails application...