Added Java client for testing