minor improvements

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>
fixed java source style

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>
relocated java source

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>
added java validation support

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>