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

Answers were Sorted based on User's Feedback



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

Answer / aditya sharma

Three tire architecture as Module View Controller.

Tier 1: the client contains the presentation logic,
including simple control and user input validation. This
application is also known as a thin client.
[Jsp]

Tier 2: the middle tier is also known as the application
server, which provides the business processes logic and the
data access.
[Servlets, Java, DAO]

Tier 3: the data server provides the business data.
[Database]

Is This Answer Correct ?    19 Yes 2 No

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

Answer / 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

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

Answer / guest

MVC is a 3 tier
Model - Interacts with Database .java (POJO, DAO, Form
Beans)
View - Represents the UI/user interaction (JSP)
Controller - Communicates between the model and view
(Servlets)

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More Core Java Interview Questions

In how many ways we can create threads in java?

0 Answers  


Explain about object oriented programming and its features?

0 Answers  


What are the different types of data structures in java?

0 Answers  


Is java hard to learn?

0 Answers  


What is size () in java?

0 Answers  






Is there is any error if you have multiple main methods in the same class?

10 Answers   Infosys, Wipro,


What is parse method?

0 Answers  


Can we sort hashmap in java?

0 Answers  


What is r in java?

0 Answers  


class A{ some variables; public void a()throws Excepion1,Exception2{....} } class B extends A{ variables... public void a()throws E2,E3{.....} } Qns: here override of methods occurs or not,ore else wil give any compilation error or run properly..plz tell me briefly whts happening with the above codes....

4 Answers   Quinnox,


What is meant by object?

0 Answers  


Which package has light weight components in java programming?

0 Answers  


Categories