» Home Page

How to scan for annotated classes and instantiate them

You may have been faced with the following problem: Let’s say you have a system that provides a couple of neat features out of the box, but you want to provide some means for the end user to extend the system, without having to release a new version that incorporates what your users have added (maybe because those additions are too exotic, or you just don’t like it).


using groovy 'scriptlets' in java

My goal is to ‘outsource’ parts of a java application into groovy scriptlets, and have the main program (written in java) load those scriptlets and execute them in a predefined fashion.


apache velocity tricks

The apache velocity template engine comes with a relatively simple yet very powerful DSL, the velocity template language (VTL). The language is more powerful than you may think. This entry will show you two less known but very handy velocity tricks.


« - previous posts                 newer posts + »