Chapter 60. About the OGSA-DAI data source servlet

60.1. Introduction
60.2. Default data source servlet URL
60.3. How to change the data source servlet name
60.4. Servlet limitations

60.1. Introduction

If OGSA-DAI is deployed onto Tomcat then it supports a data source servlet. This allows the data exposed by an OGSA-DAI data source to be exposed via a servlet and so accessed by any HTTP client. Examples of the utility of the servlet are described in Chapter 91, Writing effective clients - using the data source servlet for delivery. This page outlines information from a server administrator's perspective.

60.2. Default data source servlet URL

The default name of the data source retrieval servlet is DataSourceRetrievalServlet. The URL to access the servlet is defined, by default, to be this appended to the prefix of all services on the OGSA-DAI server.

60.3. How to change the data source servlet name

The servlet name and path, i.e.

is defined in a web.xml file in Tomcat.

You can change the name of the servlet by changing the value in the url-pattern field. For example, changing the url-pattern value to be to be servlets/DataSourceRetrievalServlet would mean that the connection URL would be:

60.4. Servlet limitations

There is no support for secure access to data exposed via the data source servlet. This could lead to privileged data being accessible to non-privileged users.