Title :
A Translation Mechanism from CPL to Java Code Based on Component Reuse
Author :
Zheng, Guang ; Gong, Yunzhan ; Yang, Zhaohong ; Zou, Xin
Author_Institution :
Inf. Eng. Dept., Acad. of Armored Force Eng., Beijing
Abstract :
CPL (Call Process Language) is a scripting language for the description and control of communication service, and it expresses its content by using functional component in XML language. This paper presents a component reuse mechanism, and defines a matrix technique to inspect the conflict of component composition. By comparing the difference of CPL and Java grammar, this paper brings forward a translation mechanism, via which we can translate CPL to equal functional Java code in the framework of XML language. This mechanism adopts the idea of EJB container, and constructs the whole services after the form of class object, and describes the CPL componenst as JavaBeans. By this way, the Java code translated has character of easily readable, highly reusable and extendable. This mechanism is applied in our service creation system, and achieves good results.
Keywords :
Java; XML; authoring languages; functional programming; grammars; matrix algebra; object-oriented programming; program interpreters; software reusability; Call Process Language; EJB container; Java grammar; JavaBeans; XML language; communication service control; component reuse mechanism; functional Java code; functional component; matrix technique; scripting language; service creation system; translation mechanism; Communication system control; Containers; Content management; Force control; Java; Programming; Protocols; Telecommunication computing; Telecommunication control; XML; CPL translator; component composition; component reuse; restriction inspection; reuse mechanism;
Conference_Titel :
Computing, Communication, Control, and Management, 2008. CCCM '08. ISECS International Colloquium on
Conference_Location :
Guangzhou
Print_ISBN :
978-0-7695-3290-5
DOI :
10.1109/CCCM.2008.197