This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

2 tier or 3 tier?

 
Pravin Reddy
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

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...?

Please clarify.

bye

Pravin.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic