To Layer, or not to Layer? That is the Architectural Question

Comments on a short article : To Layer, or not to Layer? That is the Architectural Question by Kevin Hooke. Debate follow on The Server Side.
Basically : The question is not if layers bring too much code than it is worth, but rather how to avoid the plumbing code through templating, frameworks (Spring, EJB3, ejbdoclets …) or IDE.
It is worth to recall this :

Before starting to develop an application with the java platform ask the good questions:
Do I need to distribute?
Do I need to support transaction?
And then choose the right technologies and architecture and layers
Java is not equal to J2EE
J2EE is not equal to EJB

And I found a reference to Martin Fowler‘s “Patterns of Enterprise Application Architecture” book (2002). But from the comments on Amazon, I won’t buy this book. Instead, I will make an other post about finding a good Architecture book … and still subscribe to Fowler’s blog.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: