Find problems when you develop: using XRebel with Oracle ADF

Posted by Torsten Kleiber on June 30, 2014 Tags: Oracle JDeveloper ADF Gui-Test XRebel

Some days before ZeroTurnaround has released XRebel , a new tool to recognized problems in your web applications, when you make your developer test. This was promising, so I give it a short try for Oracle ADF applications.

For this blog I use the Summit ADF application, delivered by Oracle, but I have tried with our own application too. Test is done in JDeveloper 12.1.2.

After the download there are some easy steps of setup to do:

First thing is to change an existing or add a new run configuration:

Find problems when you develop using XRebel with Oracle ADF   change an existing or add a new run configuration
Find problems when you develop using XRebel with Oracle ADF   change an existing or add a new run configuration 2

Then edit this configuration

Find problems when you develop using XRebel with Oracle ADF   edit this configuration

and add XRebel path as described in the documentation:

Find problems when you develop using XRebel with Oracle ADF   add XRebel path as described in the documentation

Save the configuration by pressing OK two times.

Then open your Page and run it via the run configuration:

Find problems when you develop using XRebel with Oracle ADF   run it via the run configuration

As First you see one time a dialog to request and enter the trial license.

Then you see the XRebel widget on the left side and after waiting some little time the first issues are shown.

Find problems when you develop using XRebel with Oracle ADF   first issues are shown

From the default configuration (which can be changed with the gear in the widget) there seems a problem with the size of the session and with SQL Queries. If you drill down to the queries tab on the SQL page you see the execute queries, sorted by execution time, maybe the app should execute some of the queries at least not before changed to the tab, where it is used?

Find problems when you develop using XRebel with Oracle ADF   where it is used
Find problems when you develop using XRebel with Oracle ADF   where it is used 2

If you look at the session size, then interesting is, that most of the session size is hold on the ODL log manager. Maybe oracle should think about this result, maybe there is a better way to hold this data.

Find problems when you develop using XRebel with Oracle ADF   most of the session size is hold on the ODL log manager

So download XRebel and give it chance on your ADF application.