title: What exactly is 2-Tier architecture?
body: <p>I understand the 3-Tier architecture very well but not the 2-Tier architecture. I read lot about the differences and still I do not have a clear idea. 
  In 2-Tier architecture,</p>
  
  <p><a href="https://www2.bc.edu/~gallaugh/research/ism95/cccsa.html" rel="nofollow">A Comparison of Two and Three Tier Systems</a>, says</p>
  
  <blockquote>
    <p>Presentation is handled exclusively by the client, processing is split
    between client and server, and data is stored on and accessed via the
    server. The PC client assumes the bulk of responsibility for
    application (functionality) logic with respect to the processing
    component, while the database engine - with its attendant integrity
    checks, query capabilities and central repository functions - handles
    data intensive tasks.</p>
  </blockquote>
  
  <p>So when we compare this with JSP/Servlet development, does this mean we do not use any Servlets and all the Server Side code is written in JSP itself using Scripting Elements? Which means we will only have JSPs in our application. Does data access code also written in the JSP? So then, is this the 2-Tier architecture? 
  I want to compare it with JSP/Servlet development.</p>