public static void main(String[] args) { String bootstrapUrl = "tcp://localhost:6666"; StoreClientFactory factory = new SocketStoreClientFactory(new ClientConfig().setBootstrapUrls(bootstrapUrl)); // create a client that executes operations on a single store StoreClient store = factory.getStoreClient("kevoree"); store.put("pompier1", "capteurs"); Versioned<String> data = store.get("pompier1"); System.out.println(data.getValue() + " " + data.getVersion()); store.delete("pompier1", data.getVersion()); }