Package dods.servers.sql

This package contains the DODS Relational Databse Server (DRDS).

See:
          Description

Interface Summary
GuardedSQLDataset Interface for datasets to be used by the drds.
SqlBoolFunction Represents a server side function that is SQL enabled.
SqlBTFunction Represents a server side function that is SQL enabled.
 

Class Summary
dodsSQLServlet This extension of DODSServlet adds JDBC connection functionality to the servlet design.
drds This servlet, the DODS Relational Database Server (drds), uses the generic implementation of the DODS SQL server types.
JDBCTest  
sqlArray Holds a DODS Server sqlArray value.
sqlBool Holds a DODS Server Boolean value.
sqlByte Holds a DODS Server sqlByte value.
sqlCEEval This class is used to parse and evaluate a constraint expression.
SqlClauseFac Generates Clause objects for the constraint expression parser.
sqlDataset This is the DODS Test servlet (dts).
sqlDDS sqlDDS is a specialization of ServerDDS for the SQL server-side of DODS.
sqlF32 Holds a DODS Server sqlF32 value.
sqlF64 Holds a DODS Server sqlF64 value.
sqlGrid Holds a DODS Server sqlGrid value.
sqlI16 Holds a DODS Server sqlI16 value.
sqlI32 Holds a DODS Server Int32 value.
sqlList Holds a DODS Server sqlList value.
SqlRelOpClause A specialized case of a RelOpClause that can return an SQL representation of its self.
sqlResponse  
sqlSeq Holds a DODS Server Sequence value.
sqlServerFactory The default server-side Factory for BaseType objects.
sqlString Holds a DODS Server String value.
sqlStruct Holds a DODS Server sqlStruct value.
sqlTest  
sqlUI16 Holds a DODS Server sqlUI16 value.
sqlUI32 Holds a DODS Server sqlUI32 value.
sqlURL Holds a DODS Server sqlURL value.
SSFunique Server side function for the DRDS.
 

Package dods.servers.sql Description

This package contains the DODS Relational Databse Server (DRDS). These classes contain specific types for building a DODS Server that forwards client data requests to a SQL Relational database via the JDBC interface. Because of the (unusual) nature of this exchange, some of the core server code (ServerDDS, CEEvaluator) need to be subclassed to place the JDBC functionality into the code.

The DODSServlet and it's children rely on the javax.servlet.ServletConfig interface (in particular the getInitParameter() method) to retrieve the name of a .ini file containing information about where to find extensive configuration information used by the servlet. Alternate methods for establishing this functionality can be arranged by overloading the method loadIniFile()

The information for making the JDBC connection should be located in this iniFile object that is inflated by the doGet() method of the parent class DODSServlet. The section in the iniFile should look like:

[JDBC]
Driver            =    the.name.of.the.jdbc.driver
ConnectionURL     =    jdbc:somevendor://targetmachine:port
username          =    guest
password          =    
MaxResponseLength =    300

See Also:
DODSServlet, dodsSQLServlet