Design and Implementation of a Database Programming Language for XML-based Applications
نویسنده
چکیده
XML is the de facto standard for data exchange between arbitrary applications. These applications are written in object-oriented programming languages like Java or C# for example. Consequently the need arises to integrate XML into existing object-oriented programming languages. Moreover, many applications have to keep and deal with persistent data and objects. A lot of frameworks are currently being developed which are trying to solve mismatch problems between the transient object model and the persistent data model. Due to performance reasons relational databases are taken in general. Although existing approaches try to minimize the mapping effort, true transparent persistency is not gained at the moment. In this work transparent persistency means that objects can be stored regardless of type, algorithms remain unchanged whether they operate on persistent or transient data and finally that programmers, if at all, deal with persistency on a very high level. In addition many persistence solutions do not even support the main object-oriented concepts like inheritance and polymorphism. As well object-oriented databases are limited to a single programming language and are rarely available. All that the frameworks or approaches mentioned so far have got in common is that the programmer has to add special code when dealing with persistent objects or classes. The code includes communication with a so-called persistency manager for example. In the past several database programming languages have been developed, but they all have tried to integrate the relational model. Consequently, a holistic and transparent solution is needed that integrates XML and persistency into an existing object-oriented programming language. In this work XOBEDBPL (XML OBjEts DataBase Programming Language) is developed as an extension of the object-oriented programming language Java. XOBEDBPL is based on its predecessor project XOBE. In XOBE XML and XPath are already integrated and checked statically at compile time against an XML schema. XML Schemas and DTDs are supported as XML schema description languages. In XOBEDBPL XML objects can now be manipulated with the help of updates. Moreover the type checking process of XOBE is extended to support updates and more complex queries as well. Additionally, transparent type independent persistency supporting all object-oriented concepts is introduced in XOBEDBPL for the first time. The prototypical implementation is based on a persistency layer using web services. The persistency layer keeps persistent objects and data and offers the possibility to exchange data among arbitrary languages and applications. Moreover, it is shown that the introduced concepts can also be realized as a semantical extension of Java. Consequently programmers do not have to learn
منابع مشابه
Apply Uncertainty in Document-Oriented Database (MongoDB) Using F-XML
As moving to big data world where data is increasing in unstructured way with high velocity, there is a need of data-store to store this bundle amount of data. Traditionally, relational databases are used which are now not compatible to handle this large amount of data, so it is needed to move on to non-relational data-stores. In the current study, we have proposed an extension of the Mongo...
متن کاملApplication Programming Interface for XML DBMS: design and implementation proposal
As XML becomes ubiquitous, there are a growing number of applications that utilize it. Most of such applications working with some kinds of XML storages, in particular with Native XML Databases, need to perform navigation over XML data retrieved from the database. The Application Programming Interface with efficient navigational facilities, that XML DBMS must provide these applications with, is...
متن کاملApply Uncertainty in Document-Oriented Database (MongoDB) Using F-XML
As moving to big data world where data is increasing in unstructured way with high velocity, there is a need of data-store to store this bundle amount of data. Traditionally, relational databases are used which are now not compatible to handle this large amount of data, so it is needed to move on to non-relational data-stores. In the current study, we have proposed an extension of the Mongo...
متن کاملImplementing a database programming language for XML applications
There is an emerging amount of software for generating, manipulating and storing XML documents, which remain valid according to a given DTD or an XML Schema. Common solutions are often based on the W3C’s Document Object Model (DOM), which has evolved to an important collection of language independent interfaces allowing to represent and manipulate any single XML document. Databases containing m...
متن کاملDeclarative Semantics in Object-Oriented Software Development - A Taxonomy and Survey
One of the modern paradigms to develop an application is object oriented analysis and design. In this paradigm, there are several objects and each object plays some specific roles in applications. In an application, we must distinguish between procedural semantics and declarative semantics for their implementation in a specific programming language. For the procedural semantics, we can write a ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره 97 شماره
صفحات -
تاریخ انتشار 2006