Question

In: Computer Science

In web programming what is the Client-Server model?

In web programming what is the Client-Server model?

Solutions

Expert Solution

What is Client- Server Model:

-> A computer networking model where one or more powerful computer(server) provides the different computer network services and all other user's computer network (client) access those services to perform a task is known as client/server computer networking model.

->In such networks, there exist a central controller called server. A server is a specialized computer that controls the network resources and provides services to other computers in the network.

->All other computers in the network are called clients. A client computer receives the requested services from a server.

->A server performs all the major operations like security and network management.

-> All the clients' communication with each other via centralized server.

->If client 1 wants to send data to client 2, it first sends a request to the server to seek permission for it. The server then sends a signal to the client1 allowing it to initiate the communication.

->A server is also responsible for managing all the networks resources such as files, directions, application and shared devices like printer etc.

-> If any of the clients wants to access these services, it first seeks permission from the server by sending a request.

Advantage:

->Centralized back up is possible.

-> Use of dedicated server improves the performance of whole system.

-> Security is better in these networks as all the shared resources are centrally administered.

->Disadavantages:

It requires specialized server with large memory and secondary storage. This leads to an increase in cost.

-> The cost of the network operating system that manages the various clients is also high

3. It requires a dedicated network administrator.


Related Solutions

In web programming what is the Client-Server model?
In web programming what is the Client-Server model?
Web Programming: Explain how a session actually works in PHP, including how the client and server...
Web Programming: Explain how a session actually works in PHP, including how the client and server use the session ID to identify the session Then, compare and contrast cookies and sessions as a means of storing state information for a given user. Thank you
what will be the code in C programming for the client and server chat application for...
what will be the code in C programming for the client and server chat application for the below issue :- write the C Programming code that able client have a unique ID to be known by the server
How do I make a simple TCP python web client and web server using only "import...
How do I make a simple TCP python web client and web server using only "import socket"? Basically, the client connects to the server, and sends a HTTP GET request for a specific file (like a text file, HTML page, jpeg, png etc), the server checks for the file and sends a copy of the data to the client along with the response headers (like 404 if not found, or 200 if okay etc). The process would be: You first...
Explain the key difference between a web service application and a general client/server application
Explain the key difference between a web service application and a general client/server application
Assume a 2.8 MByte file is being uploaded from a client application to a web server....
Assume a 2.8 MByte file is being uploaded from a client application to a web server. Answer the following questions from the perspective of the protocol stack on the client. a. What protocol is in use at the application layer? b. Is this application layer protocol reliable? c. The application layer hands this 2.8 MByte file to the transport layer. What protocol is in use at the transport layer? d. Is this transport layer protocol reliable? e. Is this transport...
Web Server is the computer that stores Web Server Software and Website. If you are running...
Web Server is the computer that stores Web Server Software and Website. If you are running some service like Food Panda which type of Hosting Server will be used. Answer your question by discussion and comparison of different types of web hosting? If you have low budget so what will be the best possible hosting plan in this situation? Justify your answer by logical reasoning.
Greetings, Consider a client server model.The server sends the message 'I am the server' to client....
Greetings, Consider a client server model.The server sends the message 'I am the server' to client. Describe and compare in details how the client and server exchange these messages using internet domain in the following two modes. a) connection-oriented modes b) connectionless-oriented modes
In the provided client and server code, the server can serve to single client at a...
In the provided client and server code, the server can serve to single client at a time. You have to change server.java code so that it can connect and serve multiple clients at the same time. Use multithreading. =============================================================================== import java.io.*; import java.net.*; public class Client { public static void main(String[] args) throws IOException { String serverHostname = new String ("127.0.0.1"); if (args.length > 0) { //pass the hsotname through cmd argument serverHostname = args[0]; } System.out.println ("Attemping to connect...
The client connects to the server. The server accepts the connection. The client sends a line...
The client connects to the server. The server accepts the connection. The client sends a line of text containing only SHAKESPEARE_COUNTS. The server sends back a sequence of integers. The number of integers in that list specifies the number of words in each insult; the numbers themselves specify how many possible words there are in each position. So, for example, if you received the output 15 20 30, it would indicate that insults are three words long, with 15 possible...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT