This post originated from an RSS feed registered with Java Buzz
by dion.
Original Post: The Layering Challenge
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Can you divide your logical layers into separate deployable units without changing a single line of code? You should be able to!
This is the challenge from Kirk Knoernschild.
Everyone says that they want a layered architecture but how many do you see in the wild?
One nice way in which we often try to enforce architecture decisions is via an AOP policy to capture it. You have a nice set of pointcuts which play the cop, making sure that Mr. Layer A didn't make a call to Mrs. C directly.
With this in place, you don't find yourself saying "ah screw it...."