摘要
C/S/S(客户/服务器/服务器)三层结构的应用已相当广泛,目前流行的中间件技术如: BEA TUXEDO,IBM CICS,J2EE等都是企业级应用,客户端与中间件采用专有协议(基本于TCP/IP之上的)通信,一般具备专门的客户端环境,服务器的部署也相对复杂,对于一些简单的C/S/S应用就显得有点重量级,如一些小型实时数据采集系统,轻量的数据交换系统,往往采用最底层的TCP/IP实现客户端与中间服务器的通信,采用自定义的数据包对后台数据库数据进行处理。文中主要研究客户端使用TCP/IP与中间服务器通信,中间服务器用OCI(Oracle调用接口)连接池实现对Oracle数据库的访问,实现多线程访问连接池技术。
C/S/S three-tier structure has already been widely used. The current popular middleware technology such as: BEA TUXEDO, IBM CICS, J2EE applications are enterprise-class. For client and middleware using devoted protocol (based on TCP / IP) for communication, generally there is specific client environment, and the deployment of servers is relatively complex. For some simple C/S/S applications have become a little heavy, such as some small real-time data acquisition systems. For small size data exchange system, it often resorts to the bottom of the TCP/IP implementation between client and server communications, and uses custom data packets to process the back-end database data. This paper studies how the client would use TCP/IP and communications between servers, between server using OCI connection pooling implementation of Oracle database access, and how to use multi-threaded implementation to access connection pool.
出处
《信息化研究》
2009年第5期18-22,共5页
INFORMATIZATION RESEARCH