Architectural Enforcement with Aid of AspectJ

Mattias Severson

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 [...]

Tags: ,

Static Mock using AspectJ

Jan Kronquist

After seeing MockME developed by some of my colleagues I started thinking about how this could be made in a generic way.

Tags: , , ,

Indented Tracing Using AspectJ

Ulrik Sandberg

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: , , ,

Ytterligare en Aspekt på din kod

Björn Granvik

Har du någonsin kopierat vissa snuttar kod – om, om och om igen? Trots att du redan har en snygg objektorienterad arkitektur? Trots att den är full med de bästa design-mönster som går att uppbringa? Trots att du valt de bästa verktygen och ramverken? Lika förbaskat så sitter vissa rader, som loggning, både i ryggraden [...]

Tags: , , ,