Java SDK version -2

Committed java SDK-v2