摘要
随着计算机应用系统的广泛使用,在一个系统中通常会用两台或者多台服务器组成一个应用的处理平台,这涉及多台服务器网络之间信息如何共享、如何传递的问题,它是在系统中信息如何传输及解析的问题。JAVA高效准确地采用TLV消息格式的原理及方法,实现对信息的解包、打包。通过JAVA的Socket传输机制建立了非阻塞状态的服务端和客户端(C/S模式),实现了消息在网络内的传输和共享。
Most of the application systems are consisted with more than one server. This involves problem of the information sharing and message transmission among the servers. As a most populate program language, JAVA implements the method of encode, decode and transmit in such application systems, and illustrates the way to package and parse the packet. By using JAVA SOCKET schema, we establishes the server and the client (C/S pattern), achieved the purpose of message transmission and information sharing in the network.
出处
《新乡学院学报》
2009年第3期68-70,共3页
Journal of Xinxiang University