send a bunch of messages with java!