2. Changing JPA Providers


The Spring applications generated by Skyway Builder leverage the Java Persistence API (JPA) for simplifying the persistence model. By default applications scaffolded or generated with Skyway Builder use Hibernate as the JPA provider, and the Hibernate and JPA libraries are added as dependencies to the project. Many JEE containers (application servers) include different JPA providers, and there needs to be a way to leverage JPA providers other than Hibernate from your Spring-based application.


With Skyway Builder Standard Edition a developer can choose JPA providers. A developer can select Hibernate or the container's JPA provider, and Skyway Builder will generate the Spring application accordingly.


The Container Settings section of the Enterprise Configuration tab lets you pick the container type. Once you pick the container type (JBoss, Websphere, OC4J, Weblogic), you can select Hibernate or Container as the Persistence Manager configuration.