JDeveloper 12c: New or Changed Features

Over the last couple of days I took some time to check out some of the new features and changes in the UI of the new JDeveloper version 12.1.2.0.0 (aka JDev12c). My other post on this issue already mentioned some features.
This new post adds some more:

UI & Handling
In my post Creating Variables and Attribute Bindings to Store Values Temporarily in the PageDef I showed how to setup page variables using the ‘variables’ iterator of the pageDef. There have been some change to the UI so that you can’t insert new variables via the pageDef editor (as it was in 11g). Variables are now added via the structure window only. I’m not sure if this is a bug or feature.

Completion Insight
This is the feature you use to get help in the editor window when you hit ‘ctrl-space’ on Java code or a jsf tag. It shows you which methods (for java) or which properties (for tags) are available. You can open a ‘Documentation’ window which should get you the e.g. javadoc. It looks like this functionality does not work for ADF or Trinidad components at the moment.

Completion Inside broken

Completion Inside broken

For default java methods you get help as in earlier version

Completion Inside working

Completion Inside working

Javadoc
Javadoc comes in a new, more modern design. Just put your cursor on some java code (e.g. String) and hit F1:
Blog12cfeatures 005

Javadoc in new Design

Javadoc in new Design

Compile and Rebuild
A new useful addition to the compilers errors and warnings are the ‘Live Issues’ in a tab you get when you compile or rebuild a project or class. This new tab allows you to quickly check audit rules and fix minor issues directly.

Live Issues

Live Issues

Another long waited for feature is the direct compile option which can be switched on in the preferences for the compiler settings (two last check boxes in the image below):

Compile After Save Option

Compile After Save Option

Activating this option will recompile all changes after you save them. If you change a page and save the changes (e.g. you add a detail item and add a table on it) you’ll get

<18.07.2013 17:27 Uhr MESZ> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:50.303 during the configured idle timeout of 5 seconds.> 
[05:50:33 PM] Updated /P:/jdeveloper/system/system12.1.2.0.40.66.68/o.j2ee/drs/BlogTest12c/BT12cViewControllerWebApp.war

but the added showDetailItem will not be able to retrieve the data. Instead you get an ‘Access denied’ message.

Saving is not enough

Saving is not enough

Clicking on ‘Compile’ to make it work you have to recompile it again to get

<18.07.2013 18:02 Uhr MESZ> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on 127.0.0.1:51.020 during the configured idle timeout of 5 seconds.> 
[06:03:08 PM] Updated /P:/jdeveloper/system/system12.1.2.0.40.66.68/o.j2ee/drs/BlogTest12c/BT12cViewControllerWebApp.war/WEB-INF/classes

Now you should be able to retrieve the data too. Look like hot deployment is working!

Running Application after Recompile

Running Application after Recompile

Debugging an Application
When you debug an application you normally end up with lots of breakpoints in different files. This is OK until you localized the cause of an error you are debugging. However, once you have found it you like to resume normal work without hitting all the breakpoints set earlier. For this the debug button bar has a new button to disable all breakpoints with one click:

Blog12cfeatures 010

Breakpoint Toggle

Breakpoint Toggle

Edit Jsf Page
Not sure what we see here, but it looks like a quick way to edit labels of components. As long as the label property of a component is empty or shows an EL you get this little window where you can select a text resource, enter an EL or enter static text. Once you have static text in the property you don’t get the window until you remove the static text.

Label Quick Selector

Label Quick Selector

Dependency Explorer
The Dependency Explorer allows you to quickly find where a component is used and how. This feature can be used e.g. to find out where a fragment is used.
Sample: you have a fragment open in the editor and like to know where this fragment is used in the project. Use menu ‘Search->Explore Dependency’ and you get a nice graphical display like:

Dependency Graph

Dependency Graph

Clicking on the numbers show you how the artifact is used (e.g. as taskflow call in another page)

How is the artifact used

How is the artifact used

True Mode
The design view now allows a quick switch into the so called ‘True Mode’. This display mode hides all visual help you normally get when you create a page or fragment. A visual help are e.g. the name and size of facets (e.g. of a panelStretchLayout). Turning this off give you a better feeling how the resulting page will look like in the browser.

Design Mode

Design Mode

True Mode

True Mode

File Templates
The ‘What’s New’ document mentiones ‘File Templates’ as

File Templates: Define custom file templates and invoke them from the gallery.

You’ll find them in the Preferences under ‘File Templates’, but I couldn’t find any documentation about how to use them.
If someone knows how to use them, drop me a note, please.

This concludes the findings on new or changes on JDev12c for now. I’m sure there are many more useful gem hidden and waiting to be discoverd.

JDeveloper 12c: Features we waited for

JDeveloper 12c has been made available today. As this is a major release it’s worth looking into the new feature list but I noticed some things we have ask for for a couple of month or years and which have been included in this version.

Splash Screen and Icon
Time to get something new to watch at! Fanzy new design with information on what is keeping JDev busy starting up. Well Done!
I like the new icon, RIP old coffee cup.

JDK
Yeah, JDev12c runs with JDK 1.7 under the hood!
The installer does not have the latest 1.7.0_25 on board, but still it comes bundled with 1.7.0_15.
The problems I had with 11.1.1.7.0 running on JDK 1.7 are fixed (at least I had no problems till now).
By the way, if you run the generic installer you need to run it on JDK 1.7.0!

Task-Flow-Templates:
If a task flow is based on a task-flow-template you had to know this (and the functionality) in the 11.1.1.x versions as there was no visual hint for this. JDev12c now shows the task flow template as gray shaded task flow. Good work!

Menu Structure and Toolbars
First thing one notice is that the menu structure has been changed. Sample: menu items to open ‘Database’ view, ‘Application Server’ view and many others are now moved from the ‘View’ menu to the ‘Window’ menu.
The toolbars don’t contain all possible icons available, but now holds only the basic stuff. You can edit the toolbar like your are used to to in e.g. word (the old one!). What I have not found yet (and already missing it) is the ‘Ant’ icon which I used very often.

As it takes time to check out all new stuff I’ll update this post in the next days with new findings.

JDeveloper 12c Available

Aside

Today JDeveloper 12c has gone public 🙂
We waited long for the new major release of JDeveloper, finally it’s there JDeveloper 12c. It comes with an impressive long list of new features which takes some time to read and digest.
The size of the installation package is huge (about 1.8 GB), so you have time to study the list of new features.
You should watch the demos of 12c, which are impressive fast. Let’s hope they show real time starting of the new integrated WebLogic Server.

It’ll take some time to go through the new features, so stayed tuned for more about JDeveloper 12c!

UPDATE 11/07/2013 14:00
The documentation is now available at http://www.oracle.com/technetwork/developer-tools/jdev/documentation/index.html
And the new reference demo Summit ADF