Java driver - create basic objects