Linux Magazine: Zen and the Art of Aspect-Oriented Programming | Linux Today

Linux Magazine: Zen and the Art of Aspect-Oriented Programming

Written By
Web Webster
Web Webster
Jul 11, 2004

“Consider the life cycle of a typical e-commerce project. First,
you might decide to architect your code around an object-relational
(OR) mapping tool, such as Java Data Objects or Hibernate, and J2EE
services, such as servlets and the Java Authentication and
Authorization Service. Next, you create interfaces and classes
representing business concepts such as a customer, SKUs, a shopping
cart, inventory, and payment authorization. At this point, your
code is clean and comprehensible.

“Then you encounter some inexplicable, intermittent behavior.
‘Of course! I need logging,’ you say. So, you meticulously modify
all of the methods in all of the classes to use log().
Now when a bug occurs, you examine the log and understand the
sequence of activities that lead to the bug…”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.