Java connector