October 27th, 2009 |
by akoelewijn |
published in
oss, soa, web
Here’s a simple file monitoring tool which uses cometd to push file changes to a webpage. The server part consists of a groovy script which uses Apache Camel to monitor some files. It then uses Apache Camel to push the lines added to the files to the browser with Cometd. In the webpage a bit [...]
March 11th, 2009 |
by akoelewijn |
published in
java, oss, soa
The latest release of Java Magazine contains an article i wrote titled: Client Server 2.0 with jQuery and Grails. Unfortunately, not all code examples fitted into the magazine. You can download the complete article, including screenshots and sourcecode here: Client Server 2.0 met jQuery en Grails (dutch).
February 4th, 2009 |
by akoelewijn |
published in
java
Mainly as a reminder to myself, here’s how you target different environments with grails. Grails knows about three environments out of the box: development, test, production. When you create a war file you can specify the environment after the grails command: Sometimes, (actually quite often), you have more environments. For example a user acceptance testing [...]
February 3rd, 2009 |
by akoelewijn |
published in
oracle, oss
I’ve been using sql for a number of years now, and thought i knew most of the sql syntax. So i was quite surprised to find out about the existence of UPDATE … FROM. Turns out, this doesn’t exist in Oracle, but is supported by PostgreSQL. Here’s a small example: In this example the response [...]
January 30th, 2009 |
by akoelewijn |
published in
java
I was just going through the Grails 1.1 beta 3 release notes and found that Grails 1.1 is not only going to support Maven but also has Ivy support for those who prefer using Ant. Good news in my opinion. I still use Ant quite a bit, on projects that are not standard enough to [...]