Apache OODT XMLPS is an extensible, configurable product and profile server that easily exposes DBMS-backed repositories and catalogs, respectively.
XMLPS grew out of the EDRN Informatics Center and its EDRN Resource Network Exchange (ERNE) project.
Here's a quick step guide to getting XMLPS up and running on your project.
Get Apache OODT Web-Grid up and Running
To get started with Apache OODT XMLPS, you'll need to install Apache OODT Web Grid.
- svn co latest OODT from trunk
- mvn install from OODT/trunk top level
- cd grid
- mvn package war:war (builds target/web-grid-0.5.war)
- cd ../xmlps
- mvn package assembly:assembly (builds target/oodt-xmlps-0.5-with-dependencies.jar)
- create test area, e.g., /usr/local/xmlpstest and copy oodt-xmlps-0.5-with-dependencies.jar to it
- copy example conf files out of xmlps/src/main/conf (example.db.properties and example-ps.xml) into test area
- modify examples for your database (I used a local postgres instance and I created a simple mapping file with 2 fields, one dynamic and one constant that queried 1 database)
- copy WAR file to $TOMCAT_HOME/webapps/grid.war
- visit http://localhost:8080/grid/
- Configure web-grid after logging in to use XMLPS handler, to reference your JDBC jar file (that you copy into /usr/local/xmlpstest), and to reference XMLPS jar file in /usr/local/xmlpstest
- try a query at: http://localhost:8080/grid/prod?q=