Injecting timing aspect into JUnit test in Eclipse using AspectJ, AJDT

Introduction This blog describes my experience with using AOP, namely AspectJ, to measure the individual execution times and their average of a particular low-level method invoked many times during a JUnit test run from within Eclipse. It concentrates on creating the aspect and integrating (weaving) it into the JUnit test execution in the Eclipse environment.Continue reading “Injecting timing aspect into JUnit test in Eclipse using AspectJ, AJDT”

See how Test Driven Development is done in practice

On the Manning site you can read the 2nd chapter of the book Test Driven – Practical TDD and Acceptance TDD for Java Developers by Lasse Koskela from 2007. The chapter 2: Beginning TDD let’s you follow the mental process of a programmer practicing TDD to implement a set of user stories. You’ve probably heardContinue reading “See how Test Driven Development is done in practice”

The quest for a portal web framework is over and the winner is: Spring Portlet MVC

For a long time I’ve been looking for a web framework that would ease the development of web UI in portlets. Pure JSP is too old-fashioned and the abstraction it provides is just too low-level. There are many good web frameworks for standard web applications (JSF/Seam, GWT, Struts 2, Wicket, you name it…) but ifContinue reading “The quest for a portal web framework is over and the winner is: Spring Portlet MVC”