File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Does 3-tier always involves a browser and a web server?

 
J Vallejo
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If this is true, does it also holds true for n-tiers, only with an additional application server component?

If this is not the case, can you set some examples of a 3-tier or an n-tier architecture that does not involve a browser and a web server?
[ October 06, 2007: Message edited by: J Vallejo ]
 
Darya Akbari
Ranch Hand
Posts: 1855
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by J Vallejo:
If this is true, does it also holds true for n-tiers, only with an additional application server component?


I would say that it's not true. Look how Sun sees it.


[ October 07, 2007: Message edited by: Darya Akbari ]
 
Darya Akbari
Ranch Hand
Posts: 1855
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See Application 1. It's not a browser. It could be any Swing GUI.

So you would have something like Swing GUI -> Enterprise Beans -> Database. No Browser, no Web Server and still a 3-tier application .
 
J Vallejo
Ranch Hand
Posts: 31
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmmm... interesting. Can you provide the link please.
 
Darya Akbari
Ranch Hand
Posts: 1855
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search for Java EE 5 Tutorial from Sun.
 
Narendra Dhande
Ranch Hand
Posts: 951
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

When I look this diagram , I am always confused. The Integration tier and Resource tier is combined in this diagram. I think they should be separate.

Thanks
 
Darya Akbari
Ranch Hand
Posts: 1855
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Narendra Dhande:
The Integration tier and Resource tier is combined in this diagram. I think they should be separate.


Aren't both tiers one and the same?

Look how Sun mix both names when it describes the DAO Pattern here. In the diagram they call the tier, where DAO is embedded, Integration tier while in the description of DAO they call it Resource tier.
[ October 09, 2007: Message edited by: Darya Akbari ]
 
ankur rathi
Ranch Hand
Posts: 3830
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Darya Akbari:


Aren't both tiers one and the same?


Are DAO and Database one and the same thing???
 
Narendra Dhande
Ranch Hand
Posts: 951
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I think these are separate. Integration tier contain the integration services like JDBC, JMS, Connectores.

Resource tier related to actual resource like databases, Legacy systems.

Thanks
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think three tier is very much the idea of a client tier with an visual front end, a middle tier mitigating access to back end data, and of course, the third tier being the back end. Certainly in that regards, any stand-alone Java application interacting with middle tier technology, such as SLSBs or SFSBs, would indeed be a non-browser based 3-tier implementation.

-Cameron McKenzie
 
Flavio Oliva
Ranch Hand
Posts: 59
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am I right to say that web services should be linked to the business tier?

Here is how I implemented a web service using spring framework:

Web Front-End
Business tier - Web Services
DAO

is web service the 4th tier?
 
Darya Akbari
Ranch Hand
Posts: 1855
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ankur rathi:
Are DAO and Database one and the same thing???


No, so what
 
Darya Akbari
Ranch Hand
Posts: 1855
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Flavio Oliva:
is web service the 4th tier?


No. Your Web Service belongs into the same tier as your DAO, the Integration tier

See the Core J2EE Pattern Overview:



Do you see where the Web Service is . It's in the Integration tier. By the way no word about Resource tier.
 
Darya Akbari
Ranch Hand
Posts: 1855
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To add more to the confusion, have you thought what if Client Tier and Web Tier merge into one Presentation Tier?

Making two tiers to one tier . Actually I don't know myself .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic