What is the Difference between Client Server and a web
Application?

Answer Posted / swati

Hi Friends,

I am also hunting for job like you guys. Thanks for the
requests for clarification of web application as 2-tier.

for eg : lets us take an example of user logging into
portal.

the webpage(where you are providing username and password)
is a front end page and its clear we treat it as one tier.
Once you enter username and password, these must be
validated. There are two options, you can validate in the
same jsp page or you can use another servlet to validate
these user credentials and delegate the request to
appropriate page on success.

Here the point is if you are validating the username and
password in the same jsp which means the frontend page(lets
think as a jsp) is directly interacting with
database...then we can treat it as a two tier. Incase if
this jsp is again talking to other servlet saying..."hey
servlet...please validate this user id and password and
decide yourselves what ever you want to do if success or
failuer? " then simply this servlet will validate and
forward to database if success otherwise it will forward
to error.jsp saying invalid username and password..so this
can be treated as three tier.

Most of the time two tier is not recommended
because..According to Jsp specification..jsp are good to
use as presentation purpose but not for controlling and
performing bussiness logic..This is what all I know


regds,
swati

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is Anyone attended the manual testing interview with capgemini in recent past. please let me know the type of questions they can ask. Thanks

2886


What is the difference between authentication and authorization in web testing?

719


What do you mean by Unit Testing, Integration Testing, System Testing, and User Acceptance Testing and when do you do them?

7086


What is test management?

1438


What is data matrix? What is the use of it?

2322






How will u decide test data to see that evey feature is thoroughly tested

1587


3.if a questions asked as,what is the quality standards you are following? what i need to tell.

1366


what is test case management?explain in brief.

1552


When we use integration testing for any new system so why we required system testing.

1553


What is software review?

808


What is a test server?

729


What is Difference between Test Strategy and Test Methodology?

1735


how to write the test cases for mark as read/unread mails for gmail inbox?and what are the testings we will do?

6107


What is AGP?what is setup.inf?What are the ways to install driver?

1793


what is the difference between Test-bed and test topology?

3266