I am doing a j2ee project on Tomcat (MVC architechture) which consists of jsp,servlets,javabean and all these will be stored physically on one machine.
My doubt is.....
.....Am I implementing two tier or three tier architechture...?
Joined: Oct 12, 2000
Impossible to say. It all depends on how you use the components and how they work together. You could have a single tier architecture using those components, or an n-tier architecture where n is any positive whole number...
Joined: Jan 29, 2003
And don't let "on one machine" bother you. You can have any number of logical architectural layers on one machine or one JVM.
There are many ways to look at layering, and they all come up with different descriptions of the same system. HERE are some notes on the topic ... I hope it's not just enough to get you confused.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi