Note that for this example, you will deploy the service provider and client on to the same application server.
请注意,对于此示例,我们将服务提供者和客户机部署到相同的应用服务器上。
In this simple nonblocking server-socket example, the server reads a file name sent from the client, displays the file contents, and writes the contents back to the client.
在这个简单的非阻塞服务器-套接字示例中,服务器读取发送自客户机的文件名,显示该文件的内容,然后将内容写回到客户机。
For example, the request may have been initiated by a client and sent to a server for processing.
例如,请求可能是由客户机发起并发送给服务器进行处理。
应用推荐