Adding basic RS service backend functionality

fix deploy errors on JBoss
provide basic JPA backend via RS