• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

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

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hmmm... interesting. Can you provide the link please.
 
Darya Akbari
Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Search for Java EE 5 Tutorial from Sun.
 
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author and cow tipper
Posts: 5009
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 .
 
I'm thinking about a new battle cry. Maybe "Not in the face! Not in the face!" Any thoughts tiny ad?
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic