Java Create New Object In Php