What is Three tier architecture. Can anyone explain with a
Ordinary web application Project? (JSP,Servlets,JAVA,DAO) ?

Answer Posted / manoj kumar

3 Tier architecture is based on MVC pattern .
M - Model (Java Beans)
V - View (Jsp )
C - Controller (Servlets)

Model :Java Beans) which verify the all values of variables
of business domain state knowledge
View :JSP) is Client side Presentation Logic in business
domain
Controller : is responsible for controlling the flow and
state of user input

Process : First the data will come form jsp page and after
submitting the the value form client (jsp Ist tier)side
than data gone to the server (2nd Tier) and validate on
server and finally the data will gone to database (3 tier
SQL, MS ACCESS).

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by private, protected and public?

719


What is difference between array and arraylist in java?

665


What is the purpose of a default constructor?

792


What is ph and buffers?

713


What is the exact difference in between Unicast and Multicast object? Where will it be used?

777


Which method must be implemented by all threads?

945


What is method in java with example?

685


What is parsing in java?

701


What are the types of inner classes (non-static nested class) used in java?

781


What does the “static” keyword mean?

795


What is data member in java?

666


Which arithmetic operations can result in the throwing of an arithmeticexception?

803


How do you check if two given string are anagrams?

718


What are the main differences between notify and notifyAll in Java?

806


When should you use arraylist and when should you use linkedlist?

678