OK, so I guess I should stick with the embedded-glassfish-all.jar then as it seems to be working. The only issue remaining is how to retrieve the EntityManager from JNDI. Is it possible?
[Message sent by forum member 'fericit_bostan']
http://forums.java.net/jive/thread.jspa?messageID=475257