From NSDLWiki

Jump to: navigation, search

Harvest Manager Design and Development

The Harvest Manager is a Java Web application that runs in the Apache Tomcat servlet container. It is built on top of the Apache Struts Web Application Framework and follows a Model View Controller (MVC) design pattern. It is based upon a Service Oriented Architecture (SOA), using the DDSWS search Web service to access harvest collections data that are managed in a NSDL Collection System (NCS). It generates harvest trigger files at the specified intervals for each collection, which are used by the harvest ingest process to perform the harvest and ingest the records into the NDR.

The software code is housed in the NSDL subversion code repository and the application is built using the Apache Ant Java-based build tool.

To build the software:

  1. Obtain the code package harvest-manager-project from the NSDL subversion repository (from trunk or specific tag release)
  2. Install Ant
  3. Install Tomcat (v5.5.x or v6.x)
  4. Define required and optional properties as described in the project ant built file (harvest-manager-project/build.xml)
  5. Define context parameters in your local Tomcat configuration as needed. See harvest-manager-project/web/WEB-INF/web.xml for parameter names and purposes
  6. Issue the ant deploy target to built the software and deploy it to tomcat
  7. Start Tomcat and test
Personal tools