ADF & JHeadstart
JHeadstart 11g: Tree-Form with drag and drop functionallity
Aug 30th
A little over two years ago I wrote a post on drag and drop in an adf tree component. That post was based on ADF only. In the following post I show that you can have JHeadstart generate a tree for you that supports drag and drop.
Not out of the box, but with use of custom templates, and some ADF knowledge. Read the rest of this entry »
Change the JDeveloper system directory
Aug 29th
De system directory is where JDeveloper stores the user specific settings, configurations and also (for 11g) the default domain of the embedded weblogic server. It uses the JDEV_USER_HOME environment variable to dettermine the location. If it’s not set is uses a default directory, for 11g on windows XP that’s <user dir>\Application Data\JDeveloper\systemXXX (XXX stands for the exact IDE version, e.g. system11.1.1.3.37.56.60 for 11gPS2, 11.1.1.3.0) and for 10g that’s <JDev install dir>\jdev\system (no version included). Note that the Application Data directory contains a space. And although this doesn’t prevent JDeveloper and the embedded weblogic from proper functioning, it may sometimes leads to an issue, e.g. that diagnostics (adrs) cannot create an image.
To change this directory, just add the JDEV_USER_HOME environment variable and set it to the required directory, that must not contain a space in the name and when you restart JDeveloper it will use that directory. However, you’ll notice that JDeveloper will now consider itself an almost new installation, without your custom configuration and no default weblogic domain but with installed extensions. It should be able to copy the old systemXXX directory to the new location but didn’t work with me and upgrade settings from a previous version didn’t work too. So you have to do the configuration again, but luckily the weblogic default domain is created automatically with the first deployment.
Be aware that when you have multiple 10g installations you should not set the environment variable because 10g doesn’t add a version number to the system directory and you’ll end up with one directory for all the 10g installations which I’m sure will cause serious problems. In this case you should can change the directory per 11g installation by setting the ide.user.dir property (use forward slashes) in the <middleware install dir>\jdeveloper\jdev\bin\jdev.boot file or add it to the startup script with -J-Dide.user.dir=<some directory>.
ADF 11g: Select all rows in an ADF table.
Jul 29th
I get a lot of questions on how to select all rows in a table. In this post I describe how you can do that. A common use case for this is when you want to apply changes on a set of records, for instance change the status of all records in a table. You might expect a whole bunch of code here (so did I…) but in fact, this is very easy. I’ll provide the (absolutely not complicated) solution and also the proof that it works Read the rest of this entry »
ADF 11g Skinning: Three ways to change look and feel
Jul 26th
On the JDeveloper ADF forum there are many questions on how to change the look and feel of components. In this post I’ll explain three ways to do that. Read the rest of this entry »
Aangeboden: ADF 11g Training – 7-11 juni (Nieuwegein)
May 28th
Van maandag 7 tot en met vrijdag 11 juni verzorgen Luc Bors en Lucas Jellema een 5-daagse ADF 11g training – in het kantoor van AMIS in Nieuwegein. Deze training is bedoeld voor ontwikkelaars die met ADF 11g aan de slag zijn of willen gaan en behandelt alle onderdelen van het framework: ADF Business Component, ADF Model & Data Binding, ADF Controller, JavaServer Faces & ADF Faces. We zullen veel van onze praktijkervaring inbrengen, best practices overdragen en deelnemers vooral ook veel zelfs hands-on bezig laten zijn.
Van deelnemers wordt verwacht dat zij voorkennis hebben van ontwikkelen van applicaties met/tegen de Oracle database. Daarbij maakt het niet zoveel uit welke ontwikkeltools – APEX, Forms, Java frameworks – daarbij gebruikt zijn. Kennis van Java en HTML is niet noodzakelijk, maar op sommige punten misschien wel handig.
Het is mogelijk om gericht enkele onderdelen van deze 5-daagse training bij te wonen. Het programma verdeeld over de dagen:
- dag 1 ADF Business Components
- dag 2 (vervolg) ADF BC; JavaServer Faces
- dag 3 JSF, ADF Faces, ADF Rich Faces
- dag 4 ADF Model, Data Binding en complexe ADF Faces componenten
- dag 5 Taskflows, Templates, Skins, Security, Data Visualization en overige ‘geavanceerde’ onderwerpen
zie voor details ook: http://www.amis.nl/oracle_adf_11g.php.
Als je interesse om aan deze training mee te doen, neem dan even contact op met info@amis.nl of 030-6016000.
ADF 11g: Ode to the Task Flow
May 7th
Last night we organized the “Ode to the Task Flow” session at AMIS. After a short presentation introducing the Bounded Task Flow it was time for the hands-on lab: “Build your first taskflow”.
In this lab many of the attendees created their first taskflow, learning the basics of ADF taskflows. This first taskflow receives a job title, and optionally your favorite color via input parameters. Based on that information a welcome message is created. The taskflow is smart enough to invoke the proper logic by using a router to show the correct page fragment based on an input parameter. From this activity, you can change your name in another view activity. This taskflow includes routers, method calls, input parameters, default activities and wild card control flows.
After diner (great Chinese food) there was no time for my usual after diner dip. I had to present a demo on packaging an ADF Task Flow as an ADF Library, and invoking it into a new application. After this demo, the second hands-on lab started. This part of the “Ode to the Taskflow” hands-on lab, was about the mechanism used to achieve reuse across applications: the ADF Library – the bundle in which reusable taskflows are published with all their dependent objects. The ADF Library can subsequently be passed around and imported into other ADF applications. Goal of this lab: create an ADF Library for your first taskflow, and use it a new application.
After this hands-on lab the session was over. It was fun presenting this session. Attendees learned how to use taskflows and also about the mechanism behind reuse. I have uploaded some of the materials for the hands-on lab here.
I can’t wait to prepare a next ADF 11g session. Any topic suggestions ?
Technical Preview of ADF Mobile Client has arrived !
Apr 30th
The Technical Preview of ADF Mobile Client now is generally available!
Ted Farrell, Chief Architect and Sr. Vice President of Tools and Middleware introduced the latest break-through in mobile application development at the BlackBerry User Conference (WES). ADF Mobile extends Oracle Application Development Framework to mobile users. Using Oracle JDeveloper, application developers can rapidly develop mobile applications that support mobile users accessing critical business data through either on-device mobile client or mobile. ADF Mobile Client supports a complete on-device client framework that works and performs consistently regardless of connectivity. The framework enables developers to develop one application that can be deployed to multiple mobile device platforms.
I wrote the OTN article to support the introduction of ADF Mobile Client: “Developing for BlackBerry Smartphones using Oracle JDeveloper and ADF Mobile”. According to Joe Huang (Senior Principal Product Manager Mobile Platform, ADF/JDeveloper) this article will contribute to getting ADF Mobile Client out to the market.
Click to go to the ADF Mobile Homepage, where you find all the resources.
Have fun working with ADF Mobile Client.
Upcoming session by Steven Davelaar on migrating Forms to ADF with JHeadstart 11g
Apr 27th
My former collegue and JHeadstart Team member Steven Davelaar will join us at AMIS on wednesday May 19th, at 18:00, to present on a particular feature of the new JHeadstart 11g release: the JHeadstart Forms2ADF Generator (JFG). Forms to Java and/or ADF migration tools have been around for a long time – for instance, VGO Software has been doing this for quite some time now with their EVO tool, and their latest release also offers ADF 11g as a possible “target” technology. But there are many more. And with every Forms2Jave migration tool, the critical issue is always: “What about the PL/SQL logic??”. Read the rest of this entry »
Bookreview: Oracle Fusion Developer Guide
Apr 20th
Oracle Fusion Developer Guide: Building Rich Internet Applications With Oracle ADF Business Components And Oracle ADF Faces
In December 2009 some 750 pages of ADF examples and ADF how-to’s were released in a great book: “Oracle Fusion Developer Guide: Building Rich Internet Applications With Oracle ADF Business Components And Oracle ADF Faces” by Frank Nimphius and Lynn Munsinger.

I ordered the book at amazon (this is the direct link) and received it by mail a few weeks later. In this post I share my first impressions with you. Read the rest of this entry »



