aspose file tools*
The moose likes Servlets and the fly likes 2 tier or 3 tier? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "2 tier or 3 tier?" Watch "2 tier or 3 tier?" New topic
Author

2 tier or 3 tier?

Pravin Reddy
Greenhorn

Joined: Dec 01, 2004
Posts: 8
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

Joined: Oct 12, 2000
Posts: 5093
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...


42
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 2 tier or 3 tier?