Java EE - Interview Questions and Answers for 'Difference' | Search Interview Question -

Search Interview Questions

 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text


Java EE - Interview Questions and Answers for 'Difference' - 1 question(s) found - Order By Newest

 Q1. Difference between socket and servlet ?Java EE
Ans. servlet is a small, server-resident program that typically runs automatically in response to user input.
A network socket is an endpoint of an inter-process communication flow across a computer network.

We can think of it as a difference between door and gate. They are similar as they both are entry points but they are different as they are put up at different areas.

Sockets are for low-level network communication whereas Servlets are for implementing websites and web services

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   j2ee   networking   servlet   socket   difference   technologies   architecture

Related Questions

  What is session tracking and how do you track a user session in servlets?
 What is deployment descriptor ?


What is the use of deployment descriptor ?
  Can we have multiple servlets in a web application and How can we do that ?
  What are different types of cookies ?
 What is a Servlet Filter ?
  What is servlet Chaining ?
  What is a config Object?
  What is a pageContext Object?
  What are the phases of the JSP life cycle ?

Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: