Deploying Oracle ADF Summit Core Sample to Glassfish

In our last post, we created a ADF ready Glassfish 4.1 server in a docker. Now it’s time to do some staff in Jdveloper to create the .ear for our docker.

Download Summit ADF:

https://www.oracle.com/tools/downloads/adf1221samples-downloads.html or download 12.1.3 and import it into Jdev 12.2.1.4 . Jdeveloper will migrate your version to 12.2.1.4

Run it on the IntegratedWeblogic server to see if everything is ok.

In our case we found that database connnection username was summit_adf and the examples database script user creation was c##summit_adf so we changed the connection to c##summit_adf

So changing it we can see that the app is working ok:

For GlassFish server we have to change Application Modules datasource connection formats to:

We also have to change view controller project and application deployment profiles platform to Glassfish 3.1 (the only option available for now):

Update faces-config.xml version to 2.1

You do not have to do anything else.

Once deployed to .ear you can deploy it in Glassfish server 4.1

1 thought on “Deploying Oracle ADF Summit Core Sample to Glassfish”

Leave a Comment

Your email address will not be published. Required fields are marked *