1.

Why Servers Should Be Multithreading? Explain.

Answer»

As you know, multithreading lets your Java PROGRAM PERFORM tasks in PARALLEL. A server is a great example of a program that should be multithreaded. If a server has a single thread of control, only one client can INTERACT with the server at any one time. If you write your server to support multithreading, the server can PROCESS many client-server connections simultaneously.

As you know, multithreading lets your Java program perform tasks in parallel. A server is a great example of a program that should be multithreaded. If a server has a single thread of control, only one client can interact with the server at any one time. If you write your server to support multithreading, the server can process many client-server connections simultaneously.



Discussion

No Comment Found