Java Client or Java Program for Event Store?

Hi, I wonder if anyone has a Java Client or Java Program that can do a POST request to Event Store?
I have tried with JVM client, but I get connection problems with akka. Anyone who can fix this?
I have tried ESJ Java Client, but I don´t know if my MainProgram works right? It doesn´t work now. See here:

package net.eventstore.client;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.UUID;
import net.eventstore.client.model.Event;
import net.eventstore.client.model.Message;
/**

http://stackoverflow.com/questions/3324717/sending-http-post-request-in-java

EventStore es = new EventStore(InetAddress.getByName(“127.0.0.1”), 2113);

Your code is connecting to the wrong port btw in your example. You are connecting to port 2113 which is the http port by default. The tcp port is 1113 by default. The native clients use the tcp protocol (async protobufs over tcp). That should help a bit.

Should be:

EventStore es = new EventStore(InetAddress.getByName(“127.0.0.1”), 1113);

Cheers,

Greg

Okay thanks a lot Greg!