Java Client Library for DeployR
Перейти к файлу
Sean Wells a258da32e1 Merge pull request #8 from Microsoft/vectorbug
Parse HTTP response properly and create proper RData objects
2016-07-21 14:49:25 -07:00
examples chore(maintenance): fixed doclint complaints 2016-06-28 07:24:52 -07:00
gradle/wrapper Initial commit. 2014-11-27 09:38:29 +07:00
lib Initial commit. 2014-11-27 09:38:29 +07:00
src/main/java Parse HTTP response properly and create proper RData objects 2016-07-20 17:33:09 -07:00
test refactor (RClient): remove support for executeShell() method 2016-06-09 09:05:10 -07:00
LICENSE.md chore (maintenance): add branding changes 2016-01-06 08:48:07 -08:00
README.md chore (maintenance): add branding changes 2016-01-06 08:48:07 -08:00
build.gradle chore(maintenance): fixed doclint complaints 2016-06-28 07:24:52 -07:00
gradlew Initial commit. 2014-11-27 09:38:29 +07:00
gradlew.bat Initial commit. 2014-11-27 09:38:29 +07:00

README.md

Java Client Library for DeployR

The DeployR API exposes a wide range of R analytics services to client application developers. These services are exposed using standards based JSON/XML and are delivered by the DeployR server as Web services over HTTP(S).

The DeployR Java client library is provided to simplify the integration of DeployR services within Java client applications.

Dependencies

Declarative JAR Dependencies: Maven Central Repository Artifacts

Artifacts for each official release (since 7.3.0) of the DeployR Java client library are published to the Maven Central repository.

ArtifactId: jDeployR

Using build frameworks such as Maven and Gradle your Java client application can simply declare a dependency on the appropriate version of the jDeployR artifact to ensure all required JAR dependencies are resolved and available at runtime.

Bundled JAR Dependencies

If you are not defining your DeployR client library JAR dependencies using declarative tools then you must ensure the required JAR files are placed directly on your application CLASSPATH.

Besides the DeployR Java client library JAR itself, jDeployR-<version>.jar, there are a number of 3rd party JAR file dependencies. These additional JAR file dependencies are provided for your convenience in the lib directory within this repository.

Building the Java Client Library

A Gradle build script is provided to build the DeployR Java client library:

build.gradle

By default, the build will generate a version of the jDeployR-<version>.jar file in the build/libs directory.

You do not need to install Gradle before running these commands. To build the DeployR Java client library a Unix based OS, run the following shell script:

gradlew build

To build the DeployR Java client library on a Windows based OS, run the following batch file:

gradlew.bat build

Examples

The DeployR Java client library ships with a number of sample applications provided to demonstrate some of the key featues introduced by the Quick Start Tutorial for the Java client library. See here for details.

The DeployR Java client library also ships with a set of unit tests. See here for details.

License

Copyright (C) 2010-2016, Microsoft Corporation

This program is licensed to you under the terms of Version 2.0 of the Apache License. This program is distributed WITHOUT ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0) for more details.