Update to deploy in jboss
Add setter to id in model
Change service