-
August 25, 2008
No setters, no getters ... return of OO?
Have you also often been wondering what your state-of-the-art enterprise-project has to do with the highly praised object-oriented principles? Well, you are not alone. I think that's an omnipresent dichotomy in current enterprise development. ...
Read more ... -
August 24, 2008
Adding a header-comment to all java-files in a repository
I had to add a header comment to all java files in a given repository. Not knowing any better solution, I wrote a groovy script: 1 def delClos 2 delClos = { println "Checking directory: ${it.canonicalPath}"; 3 it.eachDir( delClos ); 4 ...
Read more ... -
August 23, 2008
Alternatives to Hibernate
Update: See my wiki page here for a more recent overview. I just came across Carbonado, another persistence abstraction for Java. This is another alternative to Hibernate/JPA. Carbonado implements the ActiveRecord pattern, which pursuits quite...
Read more ... -
August 19, 2008
Megalomania - trust me, I know the answer!
In a recent project we had a code-review. The following piece of code turned up: public static void configure(File cfgFile) { Configuration cfg = new Configuration(); try { File mappingResources = new File("resource-gen/hibernate.cfg...
Read more ... -
August 17, 2008
Where are the ruby jobs? (Part 2)
Some posts ago I was looking for ruby jobs here in switzerland and the outcome was quite disappointing... This weekend I was pointed to rubyonrails.ch. There are lists of rails jobs and companies who offer rails development. But the perspect...
Read more ...