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. |
|
| ||||
Java EE - Interview Questions and Answers for 'Socket' - 3 question(s) found - Order By Newest | ||||
| ||||
Ans. sockets, RMI. EJB | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   distributed computing   rmi   ejb   sockets   socket   architecture | ||||
Related Questions | ||||
Difference between socket and servlet ? | ||||
What are the advantages and Disadvantages of Sockets ? | ||||
What Parameter we need to specify while creating sockets ? | ||||
How would you write a socket in Java | ||||
What is ServerSocket in Java ? | ||||
| ||||
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 between.java.net   technologies   architecture | ||||
Related Questions | ||||
What is session tracking and how do you track a user session in servlets? | ||||
What is deployment descriptor ? or 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 ? | ||||
| ||||
Ans. Sockets are flexible and sufficient. Efficient socket based programming can be easily implemented for general communications. It cause low network traffic. Socket based communications allows only to send packets of raw data between applications. Both the client-side and server-side have to provide mechanisms to make the data useful in any way. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   network programming   distributed computing   sockets   architecture | ||||
Related Questions | ||||
What are some Java related technologies used for distributed computing ? | ||||
What Parameter we need to specify while creating sockets ? | ||||