title: Upgrading GlassFish 3.1.2.2 to use JPA 2.1
body: <p>I am working with GlassFish 3.1.2.2  (I can not upgrade to 4 due to OS restrictions).</p>
  
  <p>I'm interested in upgrading JPA 2.0 to JPA 2.1 GlassFish 3.1.2.2. How can I achieve this?</p>