학술논문

A Directory Service for the CERN PS/SL Java Programming Interface
Document Type
Conference
Author
Source
Conference: International Conference on Accelerators and Large Experimental Physics Control Systems, Trieste (IT), 10/04/1999--10/08/1999; Other Information: PBD: 1 Oct 1999
Subject
43 PARTICLE ACCELERATORS ACCELERATORS
BEANS
CERN
CONTROL SYSTEMS
IMPLEMENTATION
PHYSICS
PROGRAMMING
Language
English
Abstract
The CERN PS and SL accelerator control groups developed a common application programming interface (API) in Java [1]. Part of this API is a directory service that provide information about the underlying hardware and software. With this information, it is possible to write generic programs that do general actions on lists of devices without hard coding of device names. And, starting from a device name, full details about related devices, the device itself and its class and properties, can be obtained, including the meaning of bits and bit-patterns in status words. The interface definition is independent of any implementation but a reference implementation is provided using Java Database Connectivity (JDBC) against a set of tables in a relational database. Data from very different systems can be brought together and presented in a uniform way to the user. The full potential of the directory service is reached when it is used in software components (Java Beans).