The PredictionIO Java SDK includes an API client and sample code.
'io.prediction:client:0.6.0'
<dependency>
<groupId>io.prediction</groupId>
<artifactId>client</artifactId>
<version>0.6.0</version>
</dependency>
<dependency org="io.prediction" name="client" rev="0.6.0"/>
"io.prediction", "client", "0.6.0"