In this article (in french), I wrote 6 months ago, I was searching for a mockito-like syntax to stub only one method of an object instance under test. Mockito brought it in it’s latest version. Read more…
Blog
Java, mockito, mocks, unit tests
I tend to dislike very very much class inheritance in Java. However, until today, it was not easy to explain why.
I’ve always said that beginners do a lot of duplication when they code, medium programmers solve this problem using class inheritance, good programmers find every possible way to abstract even more and get rid of class inheritance, sometimes even for the price of a small duplication (due mainly to java limitations).
If you search keyword extends in your code base, how many times doest it appear compared to keyword class? Read more…
Blog
clean code, Java
I’ve just posted a Google Spreadsheet to list java frameworks and libraries supported by Google App Engine : http://spreadsheets.google.com/pub?key=pRJ_0hajVrhacLjp3HqD5ew

Feel free to update and share.
Blog
google app engine, Java