Product

The MarkLogic Java Client API provides access to core MarkLogic database and search functionality. It allows Java developers to get going quickly, enabling them to re-use existing knowledge, skills, libraries, tools, and development environments.

Downloads

Major Features

Getting Started

Tutorials and Examples
Requirements

See the Getting Started section of the Java Application Developer’s Guide for an introduction on the Java Client API, including what version of Java is required.

Maven
Dependencies
 com.marklogic marklogic-client-api [enter version number here, e.g. 6.0.0] 

Add this repository to your pom.xml repositories section:

 central Maven Central default https://repo1.maven.org/maven2 false   
Gradle
Dependencies
dependencies

Use gradle 1.7+ and add this to your build.gradle repositories section:

mavenCentral()

Other Versions

MarkLogic 10
Maven
Dependencies
 com.marklogic marklogic-client-api 5.5.4 

Add this repository to your pom.xml repositories section:

 central Maven Central default https://repo1.maven.org/maven2 false   
Gradle
Dependencies
dependencies

Use gradle 1.7+ and add this to your build.gradle repositories section:

mavenCentral()
MarkLogic 9
Maven
Dependencies
 com.marklogic marklogic-client-api 4.2.0 

Add this repository to your pom.xml repositories section:

 jcenter http://jcenter.bintray.com  
Gradle
Dependencies
dependencies

Use gradle 1.7+ and add this to your build.gradle repositories section: