Java friendly client factory