A new software, based on the de facto standard Open Network Computing Remote Procedure Call (ONC RPC) has been developed for TJ-II database access. This software solution replaces a previous development based on Berkeley sockets in which the client implementation had the drawback that was platform dependent. From the user point of view, the access to the TJ-II database can be done from codes running in the central server or from any other computer in the network in exactly the same way. From the development point of view, the ONC RPC tools allow to generate source code for the clients in an easy and flexible manner, thus reducing the work needed to maintain/upgrade the library for different platforms. The access to the database is managed by a concurrent server program, running on the central server, which implements each access routine as a service on the network. This allows controlling the accesses to the database. A client library has been developed to provide connection with the data server. This library implements a client routine per service, that interchanges parameters between client and server programs using External Data Representation. The client library has been installed in different UNIX and UNIX-like platforms, including ALPHA AXP/Digital UNIX, Sparc/SOLARIUS, INTEL/LINUX and CRAY/UNICOS and in Windows (NT/95/98) platforms. The support for Windows platforms allows autonomous PC-based acquisition systems to integrate experimental data into the data base. A basic in-house developed identification system is used to control client connections. An access policy has been defined in order to assign different permissions to different clients.
Read full abstract