JMX (Java Management Extensions) Question:
What is a cross-cutting concern?
Answer:
A requirement that cuts across all the natural modules of your application.
Examples:
Tracing, security, transactions, business rules.
Two problems with cross-cutting concerns.
☛ Code tangling - method doing too many unrelated tasks
☛ Code scattering - code duplication leading to maintenance headache
Examples:
Tracing, security, transactions, business rules.
Two problems with cross-cutting concerns.
☛ Code tangling - method doing too many unrelated tasks
☛ Code scattering - code duplication leading to maintenance headache
Previous Question | Next Question |
What is lazy initialization? | What is a join-point? |