Posts Tagged 12c
If you work with JDeveloper 12.1.3 you may missing the return type of methods in completion insight.
For an example you hit CTRL-SPACE after following code
you see that at the start and at the end of the popup the available method names and parameter. If you have worked before with older versions of JDeveloper, you know that there is shown the return type of the method at the end. What a loose of productivity!
You run into Bug 19353293 : CODE INSIGHT : RETURN TYPE NOT SHOWN.
But no problem, there exist patch 19353293: CODE INSIGHT : RETURN TYPE NOT SHOWN, which solves the problem for you:
Remember to install the patches for all of your developers!
Remember too, if you want to install more than one patch, there can be conflicts. Please test carefully, if all of your problems are solved for all patches after adding one more patch. Maybe you have to create a merge request in Oracle My Support.
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:
Then edit this configuration
and 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:
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.
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?
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.
So download XRebel and give it chance on your ADF application.
I have presented today on DOAG Development 2014 in Dusseldorf. For all non DOAG members – you can find the german presentation on slideshare too.
If you speak german and you are interested in quality assurance for your ADF projects you should come and attend my presentation at DOAG Development on 06/04/2014 in Dusseldorf.
I will show you, how you can implement in the JDeveloper IDE and in Continous Integration server Jenkins:
- static code analysis with PMD, FindBugs and Checkstyle
- Commit tests with JUnit, Mockito and Powermock for Mockito
- Code coverage for commit tests with JaCoCo
- Acceptance tests with JUnit and Selenium
I have finished now my work on integrating last PMD version 5.0.5 into JDeveloper.
This is available now for JDeveloper 126.96.36.199 upwards, 11.1.2.x. and 12.1.2. There is no new functionality, as the most work intensive part was the rewriting for PMD 5. There has changed a lot of api functionality.
Please give it a try, you can download it via the standard update center “Open Source and Partners Extensions” in JDveloper itself
or directly from the PMD SourceForge.net Project Page.