Skip to content

denisneuling/doozer4j

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Doozer4j - Another doozer client

A doozer client for java to access the highly-available doozerd programmatically from your java application.

Usage

import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;

import com.cloudcontrol.doozer4j.DoozerClient;
import com.cloudcontrol.doozer4j.IDoozerClient;

[...]

	private String host = "localhost";
	private int port = 8046

[...]

	InetAddress doozerd = InetAddress.getByName(host)

	IDoozerClient doozerClient = new DoozerClient(doozerd, port);
	doozerClient.add("/my/first/file", "contentOfTheFile");

[...]

Requirements

You will need following:

Install via your package manager, otherwise get the libraries.

Descriptions can be found here:

For Maven: Building a Project with Maven

How to setup this project?

  1. Clone this project

     $ git clone git@github.com:cloudControl/doozer4j.git
    
  2. Change into the directory:

     $ cd doozer4j
    
  3. Run maven:

     $ mvn install
    

    Or if you use any derivate of eclipse/Equinox

    $ mvn install eclipse:eclipse

This will fetch all dependencies.

Import into IDE?

Eclipse:

$ eclipse create-src

About

A programmable doozer client for java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published