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

Why char array is favored over string for the storage of passwords?

555


If system.exit (0); is written at the end of the try block, will the finally block still execute?

618


What is a heavyweight component?

542


How you can force the garbage collection?

540


What is use of set in java?

495






Which is better ascii or unicode?

572


When would you use a static class?

584


How many types of java are there?

559


Why is java so popular?

639


What is the order of arraylist in java?

609


What are methods of a class?

544


What are green threads in java?

555


What is defined as false sharing in the context of multithreading?

507


Define how can we find the actual size of an object on the heap?

659


What is public static?

497