This repository is used for demo Forward and backward chaining web service client application.
This is only server part of the web service, server source code can be reachedhere.
- JDK 1.7
- Maven 3
- Internet connection
- Clone git repo
- Project is based on Maven, thus import project to IntelliJ IDEA by:
- File -> Open... -> pick
pom.xmlfile.
- File -> Open... -> pick
- Setup application server (Apache TomEE):
- Download WebProfile, ZIP from: http://tomee.apache.org/downloads.html
- Unzip
- In IntelliJ IDEA: register "TomEE Server" -> local:
- Press "Fix", choose "exploded war" as artifact
- Set page:
http://localhost:8081/ - Set port:
8081
- Run the server, project should start successfully.
- Note: To change service resource change location for
WebTargetobject insrc/main/java/client/RESTClient - Note: To change DB checkboxes change
web/index.xhtml:- Change
<p:selectManyCheckbox id="databases" value="#{data.databases}">- Each line inside tag has
<f:selectItem itemLabel="X" itemValue="Y" />where:- X - visible name
- Y - DB name (
servercolumn in server Multi DB). Current index page shows all test cases, format[F,B][1-9]
- Each line inside tag has
- Change