In our background pages on OGSA-DAI we described how OGSA-DAI supports interaction with data resources via Perform documents directed at OGSA-DAI services. On these pages we describe the OGSA-DAI components that realise this interaction.
A data service is a point of contact for clients who with to access, query or update a data resource, or perform other data-related actions using OGSA-DAI. A data service offers a document-oriented interface which accepts OGSA-DAI Perform documents from clients and returns Response documents to clients. A data service may typically offer other OGSA-DAI operations for example data transport-related operations.
Each data service will expose 0 or more data service resources.
A data service resource implements the core OGSA-DAI functionality. It accepts Perform documents from data services, parses and validates them, executes the data-related activities specified within them and constructs Response documents. It can also cache data for retrieval by third-parties (if the data service resource is configured to support asynchronous data delivery).
At present each data service resource supports interaction with a single data resource.
Data service resources are configured via a set of three files:
These files are constructed automatically by the tools we provide to deploy data service resources. However, if you are interested, a detailed description of these files can be found on this page.
At present data service resources are created in-memory when the data service that exposes them is created (or, if the data service supports this, from when they are dynamically deployed). They live until the server hosting the associated Web services is shut-down.
Data service resource configurations are persistent files.
Clients can access the properties of data service resources, again via a data service, so they can get information about data resources managed by the data service resource, and also to establish the activities that they can perform on the data resource managed by the data service resource. These properties include:
Data service resources may have additional data resource or application specific properties defined by their deployers.
Though the functionality currently supported by data service resources is limited and are a subset of what you might find in other database connectivity functionality such as JDBC, the power of the data service resources, and the OGSA-DAI data services which expose them, lies in its exposure of a consistent interface regardless of underlying technology. In addition, using a document to describe data-related operations allows requests to be analysed and optimised.
The following image shows the relationship between data services, data service resources, data service resource configuration files and data resources.
Data services, data service resources, configuration files and data resources
To summarise, multiple data services can expose data service resources which each share the same configuration. In addition, a single data service can expose multiple data service resources.
The following figure gives a possible run-time scenario:
Data services, data service resources, configuration files and data resources - a run-time scenario
The list of data service resources exposed by a data service is recorded in a data service resource configuration file which resides on the server.
| Up: OGSA-DAI User Guide | ||
| © International Business Machines Corporation, 2005. | © The University of Edinburgh, 2005. |