I am planning to use Hibernate to handle the ORM for an app deployed in an Oracle Glassfish Server (OGS).
Is this true? If I go on the OGS route, then I am stuck with the JPA / JTA implementation that comes with the container? Is this all true for Java EE-container containers?
Is there any way to (reconfigure classespath, XML / property files etc)? thank you in advanced!
It is not a good idea Swapping core modules are normally a risk. Most of the main technologies are tightly integrated and can not be easily switched. You are lucky if the desired vendor has support and gum-code for additional providers. In the case of OGS you are bound to EclipseLink (JPA RI) or alternatively hibernate (some updated modules in which the Gum-code is available). Shipping accessories with your application (in the worst case) Odd class loading errors are taking place. Here's an example of my thoughts and JSF:
Comments
Post a Comment