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.
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.
<dependency> <groupId>com.marklogic</groupId> <artifactId>marklogic-client-api</artifactId> <version>[enter version number here, e.g. 6.0.0]</version> </dependency>
Add this repository to your pom.xml repositories section:
<repository> <id>central</id> <name>Maven Central</name> <layout>default</layout> <url>https://repo1.maven.org/maven2</url> <snapshots> <enabled>false</enabled> </snapshots> </repository>
dependencies { compile group: 'com.marklogic', name: 'marklogic-client-api', version: '[enter version number here, e.g. 6.0.0]' }
Use gradle 1.7+ and add this to your build.gradle repositories section:
mavenCentral()
Release 5.5.4 zip package (compatible with MarkLogic 10) — 12MB (SHA1)
<dependency> <groupId>com.marklogic</groupId> <artifactId>marklogic-client-api</artifactId> <version>5.5.4</version> </dependency>
Add this repository to your pom.xml repositories section:
<repository> <id>central</id> <name>Maven Central</name> <layout>default</layout> <url>https://repo1.maven.org/maven2</url> <snapshots> <enabled>false</enabled> </snapshots> </repository>
dependencies { compile group: 'com.marklogic', name: 'marklogic-client-api', version: '5.5.4' }
Use gradle 1.7+ and add this to your build.gradle repositories section:
mavenCentral()
Release 4.2.0 zip package (compatible with MarkLogic 9) — 19MB (SHA1)
<dependency> <groupId>com.marklogic</groupId> <artifactId>marklogic-client-api</artifactId> <version>4.2.0</version> </dependency>
Add this repository to your pom.xml repositories section:
<repository> <id>jcenter</id> <url>http://jcenter.bintray.com</url> </repository>
dependencies { compile group: 'com.marklogic', name: 'marklogic-client-api', version: '4.2.0' }
Use gradle 1.7+ and add this to your build.gradle repositories section:
jcenter()
By continuing to use this website you are giving consent to cookies being used in accordance with the MarkLogic Privacy Statement.