JEE7 + JPA 2.1 + WebSockets/REST + AngularJS