Having 2 interfaces to the world, one is a @Remote-interface and the other is a RESTful-interface. Using JEE6(Glassfish 3), JPA