To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
As quite many JPAContainer users have met some issues when trying to use JPAContainer with Glassfish 3.1, I decided to try and document that procedure. I wrote a blog post that discusses how the basic web app project created by the jpacontainer maven archetype can be changed into a JEE6 project that uses JPA context provided by application server and JTA transactions. I hope it helps to get easily started with e.g. Glassfish.
I have been working on some enhancements on this area and a new snapshot build of JPAContainer is now available. My latest blog entry discusses about the new features. Using JPAContainer with JEE6 servers is now much simpler than with the previous "EJB approach".