Changed the flow of query and SQuery. SQuery now only handles a preformatted pathquery document as input (in the "query" parameter).HandleQuery now handles all structured queries derived by CGI parameters.
fixed bug with handleSQuery() that kept DMan from access the squery functionality
- created transformResultset() which transforms an xml resultset document and displays it to the client useing DBTransform- renamed transformDocument() to createResultDocument() and modified its functionality to only return a restultset xml document- changed handleSQuery() and handleQuery() to use the new methods
remove handleQueryAction() in favor of directly calling handleQuery() and handleSQuery() from doGetOrPost()
Cleared hardcoded paths for the location of .html files and usethe new "htmlpath" property from metacat.properties file
Added decodeMouseAction(Hashtable) to decode the mouse click action outside of handleGetOrPost to allow for easy modification of images in a different application.
Broke up handleQueryAction into handleQuery, handleSQuery, runQuery and transformDocument. handleQueryAction is now a base function which makes calls to each of these functions to create, run and transform a query from CGI parameters.
Updated build process to now use a copy of the source files so that keywordsubstitution can ocur before the build. This allows for substitution ofhardcoded values into the source before the compile. Currently, I amusing this feature to do the following:...
added Logout handling
clear lib dir from paths like xmltodb/lib/something.html
Changed exception handling mechanisms for DBReader
broke up handleQueryAction into handleQuery, handleSQuery, runQuery and transformDocument
changed paths, b' of new dev server
added "anonymous" user connection
-Reorganized xmltodb module to support new install process for the newlinux server (dev.nceas.ucsb.edu). Added "build.sh" shell script thatcalls ant withthe proper umask set for installation. Use:
./build.sh install
to post a new copy of the servlet and its supporting files to the install...
rearrange html pages for login and metacat access
more precise handling of the Connection Pool
Changes related to "getdataguide" action
Added support for "anonymous" user
added Pool of ConnectionsDBQuery, DBReader, DBTransform, DBUtil are created on every request and use the connections from the Poolsame with DBWriter and DBValidate
Added "getdoctypes" and "getdataguide" action handlers
Added "Login Client" action for login from the Desktop Client
no message
MetaCatServlet.java
finished user auth & session tracking
Fixed bug in DBEntityResolver so that it now properly delegates tothe system id found inthe database.Changed DBValidate to use DBEntityResolver, rather than the OASIScatalog, and to return validation results in XML format.
testing login
testing
Added feature to now ouput COMMENTs and PIs when the document isread from the database with DBReader.
changed toresponse.sendRedirect(response.encodeRedirectUrl("/xmltodb/lib/index.html"));
changes releted to login and session tracking
Updated javadoc documentation.
Fixed bugs associated with the new UPDATE and DELETE functions ofDBWriter. There were problematic interactions between some staticvariables used in DBEntityResolver and the way in which theServlet objects are re-used across multiple client invocations....
Merged in substantial changes to DBWriter and associated classes and tothe MetaCatServlet in order to accomodate the new UPDATE and DELETEfunctions. The command line tools and the parameters for theservlet have changed substantially.
1) Simplified database connection creation by adding new utility routine in MetaCatUtil that reads configuration information from the properties file.2) Created MetaCatUtil.getOption() to retrieve options from properties file.3) Unified SAX Parser creation by specifying parser driver in the properties file and dynamically loading it using the XMLReaderFactory interface....
cleaned up code for getting options from the properties file, made the database connection inthe MetaCatUtil class use the properties file for the conneciton info
updated javadoc documentation
integrated new structured query facility (DBQuery) into the servlet demo (MetaCatServlet)
minor modifications to fix problems introduced with AccessionNumber module
docid is String
added result-set filter to DBSimpleQuery to only return specified document type
renamed DBSAXWriter to DBWriter
minor formatting and display update
updated servlet UI and added new intgrated document validity feature to servlet. Working on transformation feature.
debugging form submission
fixing transform bugs
improved query result handling
Update to handle retreival of datafile from server
xsl stylesheet fix for resultset format
created XSL transformation module based on the internal database catalog
added XSL formatting to document display for metacat servlet
creating automatic transformation for XML docs retreived from catalog
changed location of catalog file to config parameter
created options file for MetaCatServlet
MetaCatServlet Modifications for XML Validation;
updated javadoc documentation for changes
further work on XML docuemnt loading facility in the MetaCatServlet
added xml doc loading to servlet actions
changed package name to edu.ucsb.nceas.metacat.*
changed database connection code, added utility class MetaCatUtil.java
added document display function to servlet
continued work on interface to servlet
improvements to MetaCatServlet engine, added html access pages for catalog query
started servlet to do XML query and return result set