After working some time within the software industry, you get a feeling for good software architecture. Or, to be more honest, you get a creeping feeling when the architecture is really bad. That is when the code is tangled like a Gordian knot. After some futile refactoring attempts, you consult the software architect at your [...]
Architectural Enforcement with Aid of AspectJ
March 28th, 2010 by Mattias Severson — Architecture, Java
Static Mock using AspectJ
February 16th, 2007 by Jan Kronquist — Testing
After seeing MockME developed by some of my colleagues I started thinking about how this could be made in a generic way.
Tags: aop, aspectj, easymock, mock
Indented Tracing Using AspectJ
December 15th, 2006 by Ulrik Sandberg — Java, Tips & Tricks
Given inspiration from the book “AspectJ In Action”, I wrote a little aspect that provides indented tracing of method executions. This means that the aspect keeps track of the current indentation level in a call flow
Tags: aop, aspectj, programming, tracing
