Gradle is a build tool that tries to combine the best of Maven and Ant and at the same time replace the verbose XML syntax in these tools with a compact and easy to understand Groovy based DSL. Gradle supports Mavens default project structure, dependency management mechanism and repository infrastructure making a replacement fairly straight [...]
Archive for the ‘Dynamic languages’ Category
Tags: Android, Android Studio, build-tool, Gradle, IntelliJ, Maven
Posted in Build, Build automation, Dynamic languages, Java, Java 7, Java EE, Mobile, Open Source, RESTFul, Software Craftsmanship, Tools | 2 Comments »
Our developer conference Cadec with over 150 developers, mostly locals from Göteborg, have taken place recently. Nearly 60 of these developers also attended one of our three hands-on-tutorials. All three tutorials are on Github and open for anyone to work through, so if you’d like an intro to any of these domains, please feel free [...]
This article covers how to setup your standard Eclipse environment with plugins from SpringSource for developing Groovy and Grails applications without using the full SpringSource Tool Suite.
It is more and more common that we see other languages than Java running on the JVM. One such language is Groovy which together with the Ruby on Rails [...]
I’m an enterprise architect. My work is to define architectures that span systems, organizations and sometimes countries. Not because architectures become better if they do. No, because business-, enterprise- and pan-european integration projects depend on an agreed abstraction (in the sense of frameworks) of IT so that focus can shift from plumbing to system-level design. [...]
Groovy and Grails support have long been a sad story in Eclipse. Most notable, running and debugging Grails Unit tests in Eclipse has been quite painful, partly due to the fact that the Groovy eclipse plugin didn’t recognize the tests as being Unit tests (and hence the “Run as | Unit Test” has not been [...]
Going back to the roots of OOD has been commonly advocated since Eric Evans presented his book “Domain-Driven Design: Tackling Complexity in the Heart of Software” back in 2003. There are several other sources of the movement, such as the Naked Objects Framework which we presented at Cadec 2007.
In database systems, DDD often [...]
I decided to see what it would take to deploy the weather feed of my previous post to Google App Engine – a cloud platform for Java servlets. I went the maven path, so that I could simply deploy to GAE via a maven build command. In order to keep the original project independent of [...]
Imagine that you could write code like this:
create an Order where ( Id is 1, Number is 2 ) named “order_1″
This is a simple DSL that lets you create an order with specific attributes. Quite obvious isn’t it? This does not really look like something from a programming language, but it is actually valid Scala [...]
As Groovy becomes integrated in more and more environments, the IDE support is slowly improving. There are many options for editing Groovy, but well-integrated debugging has so far been the privilege of IntelliJ Idea users.
In terms of refactoring, IntelliJ is still outstanding for Groovy developers. But there is a solution to the basic needs [...]
If you need to automate a fairly complex process – like a batch job – Groovy may come in handy. Designing a Java batch job is typically a task that involves the following mechanisms:
Job control infrastructure that triggers the job as a shell command
A script that (e.g. ant) that initializes the class path and triggers [...]