用java实现多线程服务器程序(Implementation of multi-threaded server program with Java).docVIP

  • 8
  • 0
  • 约 10页
  • 2017-10-07 发布于河南
  • 举报

用java实现多线程服务器程序(Implementation of multi-threaded server program with Java).doc

用java实现多线程服务器程序(Implementation of multi-threaded server program with Java)

用java实现多线程服务器程序(Implementation of multi-threaded server program with Java) Implementation of multi-threaded server program with Java -------------------------------------------------------------------------------- 2002-09-19 09:34 software world Abstract: before Java came into being, writing multithreaded programs was a tedious and accompanied by a lot of insecurity. Using Java, it is easy to write safe and efficient multithreaded programs, and we can easily implement multi-threaded server programs by using multi-threaded and Java network packages. Java is accompanied by the spring tide of Internet, and it has inherent support for network and multi thread. It has all the characteristics of programming language in network era. From the current application of Java, Java is mainly used for network programming in Internet or LAN, and the trend of using Java as the mainstream network programming language is becoming more and more obvious. In actual work, besides using commercial server software, we often need to write our own server software in order to perform specific tasks or to interact with specific client software. In order to improve the program efficiency and reduce the waiting time of users, we have applied multithread technology in Java Applet to realize server program. Server program and multithreading in Java Before Java, there was no mainstream programming language that could provide an inherent support for advanced network programming. In other languages, often need further depends on the operating platform of network API network program technology, Java provides a complete software platform without correlation of network support package, the programmer is not necessary support for the system network in detail and trouble. The Java package, internally supported network protocol for TCP/IP, is also the most popular WAN / LAN protocol today. Java classes and interfaces about the network are defined in the java.net package. Usually use the java.net package in

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档