Dec 7
Buildr and groovyc
In this post im going to demonstrate how to use the groovyc ant task in order to intruduce groovy compilation into your build (which is a bit tricky).[...]
Dec 7
Compilled vs non compilled Groovy Spring beans
[...]
Dec 7
Taking back control on your tests with TestNG
The thing is that as your code grows it gets harder to maintain the tests that you've written in addition JUnit adds pain to misery due to its bad design. [...]
Nov 7
Intellij 7.01 on Ubuntu => Java 6 upgrade
[...]
Oct 7
Catch the bug
The code is in the Groovy programming language and involves two closures as follows:[...]
Aug 7
Generics shall risen again!
Here is a possible solution for cases in which some libraries that you depend upon and are not under your control (Spring, Apache Commons etc..) don't use generics (usually this is due to 1.42 backward compatibility), in such cases you'd usually write lines that might resemble something like this:
JdbcTemplate jdbcTemplate=new JdbcTemplate(); List〈String〉 result=jdbcTemplate.queryForList(/*query*/,/*params*/);
This code will result in unchecked assignment warning during compilation however the most annoying thing about it is that the IDE will not auto complete the generics types for us(=> more typing for us!).[...]
May 7
Dicsrete math & Java
A group is a math entity that has a proper definition and a collection of operations which are operable on them such as: intersection, union, disjunction, subtraction.[...]
Apr 7
A glass of Watir to quench your thirst
Watir is quite interesting since it drives the actual web browser UI (IE) during testing procedures , this makes it extremely simple to use , you don't have to sniff any http posts or use low level API , just select your DOM element and the operation that you wish the browser to perform on it:[...]
Apr 7
JBoss PermGen , same old error
A couple of weeks ago iv stumbled upon the following post which carried the title "Good Riddance, PermGen OutOfMemoryError !", the thing is that this error happens quite alot when you are redeploying an application under JBoss for a couple of times.
The only way to recover from it is to restart JBoss which is quite annoying (especially when it takes 2min to load it up again).

Follow me online