• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

3 tier architecture

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hai All,
In 3 tier architecture, where is the presentation layer, is it on the server side or client side. Beacuse in J2EE framework, we are using jsp/servlet to create the presentation which is viewed by the client browser, in which tier does the client's browser comes? If presentation(jsp/servlet) comes in server side, then what tier is in client side?
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

In a typical j2ee MVC implementation the letters MVC stand for
M = Model (your (Enterprise) JavaBeans)
V = View (your jsp's)
C = Controller (your servlets)

So basically the client side, in this case the browser, doesn't play a role in the server side architecture and is not considered to be part of the MVC pattern.

You might try finding some books on it.

good luck.
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The purpose of Servlets is to provide the opportunity to create dynamic content, So while they run on the server, what they produce is the presentation HTML, so the Browser and the HTML is the presentation layer. the Servlets business logic create the content that is needed. So you could also say that JSP is part of the presentation layer, because it combines HTML and some simple tags that a HTML guy who knows nothing about Java can write his Presentation layer.

Mark
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic