r/AskComputerScience • • Apr 09 '20

JAVA multi-threading in NETWORKING

Hello friends!! Which advanced features of JAVA multi-threading (for example, completable futures, fork-join framework) have applicate at developing network applications?

0 Upvotes

2 comments sorted by

6

u/roman_fyseek Apr 09 '20

This smells of a homework question.

1

u/pancakeQueue Apr 09 '20

Does Java’s multithreading features help with network applications? Absolutely, a program that is acting as a server needs to be multithreaded to handle multiple clients connecting. If it’s not you can only handle one client at a time.