Configure via Java
Sat, 08/18/2012 - 11:13
I'm currently developing a system written in Java that launches required server modules (one of which is Couchbase server) on demand from a coordinator server.
Although it is obviously possible to interact with Couchbase by using Java to run other scripts which could perform administrative tasks (such as configuring a fresh instance with a variable amount of memory) has anyone had any success with, or have any pointers for closer integration with Java?
I'll be grateful for any responses. I thought I should ask before I wrote a complicated (and probably inefficient) piece of code.
We don't really have any cluster administration tools for the official Java SDK, but will likely add support over time. A while ago I wrote something that in java that allowed me to access most of these API's. The project is old and I'm not sure how well it still works, but it might be a good starting point for you.
https://github.com/mikewied/java-membase-rest-client