Swapping out default Java EE implementations on GlassFish
===

I have been planning on using Hibernate to handle the ORM for an app I will be deploying to an Oracle GlassFish Server (OGS). I'd also like to take advantage of a few features that Bitronix (JTA impl) offers that I really like. Having never worked with OGS before I am concerned that I will not be able to use Hibernate or Bitronix because OGS has (pre-installed) default implementations for JPA and JTA (and others).

Is this true? If I go the OGS route am I stuck with the JPA/JTA implementations that the container comes with? Is this true for all Java EE-compliant containers?

Is there a workaround to this (reconfiguring the classpath, XML/PROPERTIES files, etc.)? Thanks in advance!
