Config with Jersey 2.x beacuse in jersey 1.x don't work with JPA for
data nucleus