Hi,
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.
Blog post about using JPAContainer in JEE6 server
cheers,
matti