Tag Archives: refactoring

NetBeans 7.2 – New Refactoring option ‘Replace Constructor with Builder…’

Some weeks ago version 7.2 of the NetBeans IDE was released (download at http://netbeans.org/downloads/index.html). This version includes a nice new option to refactor your code. The Builder Pattern The Builder Pattern (amongst others made popular by Joshua Bloch’s 2nd edition of … Continue reading

Posted in Did you know?, Java Basics | Tagged , , , , | Leave a comment

Different ways of using Liquibase in Grails

“You never develop code without version control, why do you develop your database without it? Liquibase is an open source, database-independent library for tracking, managing and applying database changes. It is built on a simple premise: All database changes are … Continue reading

Posted in Groovy and Grails, Java Persistence, Spring Universe | Tagged , , , , | Leave a comment

@Delegate in Groovy

Die sehr mächtigen Möglichkeiten der dynamischen Metaprogrammierung in Groovy sind der Grund für zwei wesentliche Nachteile der Sprache: Performanz: Das dynamische Delegieren von Methodenaufrufen zur Laufzeit sorgt dafür, dass Groovy-Anwendungen in aller Regel langsamer als vergleichbare Java-Anwendungen sind. IDE-Unterstützung: Die … Continue reading

Posted in Groovy and Grails | Tagged , , | Leave a comment