|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Exception Summary | |
|---|---|
| ServiceReportException | This class wraps the XmlBeans generated class
ServiceExceptionReportDocument. |
This programmer's manual introduces the main classes of the GDAS 0.9.1 implementation.
Programmer's Manual |
|
GDAS 0.9.1 is implemented using a java servlet listening for the requests defined in the GDAS Specification Version 0.9.1 (2004-05-04).
GdasServlet091.javaThe GDAS Servlet responds to requests defined in the GDAS 0.9.1 specification where the version parameter is '0.9.1'. The servlet determines if the correct parameters have been sent. If the request is 'GetCapabilities' (specification section 7.1), the servlet sends back the reply, otherwise it is a 'GetData' (specification section 7.2) request and the parameters are forwarded to the DataHandler for further processing.DataHandler.javaUsing information in the GetCapabilities.xml and dataHandlerConfig.xml (both configuration files are found in the gdas091/WEB-INF directory), the DataHandler determines if a 'GetData' request can be filled. If so it assembles all the elements of the GetDataResponse (specification section 7.2.4) except the <Rowset> element. DataHandler calls the dataset's DataRetrieverInterface implementation (configured in the dataHandlerConfig.xml) to return the <Rowset> data.DataRetrieverInterface.javaData to be returned by GDAS is stored in many different formats. The format data is stored in (Excel spreadsheet, Oracle, MySQL, etc) will determine how it is to be queried. If there is a data set that cannot be queried using the current implementation of this interface, a new class can be created. The data set can be configured to use this new class in the dataHandlerConfig.xml. Instructions for configuring the dataHandlerConfig.xml can be accessed by opening the gdasUserGuide.html in the 'UserGuide' directory of the distribution.
JDBCDataRetriever.javaImplementing the DataRetrieverInterface.java, the JDBCDataRetriever can query any data store there is a JDBC driver for. Each data set using JDBCDataRetriever is configured to use a specific JDBC driver in the dataHandlerConfig.xml see the GDAS User's Guide located in the 'UserGuide' directory of this distribution. |
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||