Saturday, July 13, 2013

Smooth Migration from ADF 11g R1/R2 Apps to ADF 12c

First test I did with ADF 12c was to run apps developed with previous releases ADF 11g R1/R2. Migration was very smooth, no issues so far. Applications are migrated just with single click, no matter if based on JSPX or Faces.

In this post I'm going to publish two applications migrated from my previous posts. You can download two ADF 12c samples from here - adf12c_app.zip.



1. Test for ADF 11g R2 functionality for Multi Task Flow Binding. This allows to implement your own lightweight UI Shell functionality. Based on this post - Building Custom UI Shell with ADF 11g R2.

Application from ADF 11g R2 with Facelets was loaded smooth into ADF 12c, keeping same structure:


Multi Task Flow binding is recognized in ADF 12c:


Dynamic tabs are rendered correctly, every tab can be closed and opened again - list of loaded regions will be maintained by Multi Task Flow bindings, same as in ADF 11g R2:


2. Test for ADF 11g R1 functionality and JSPX. Based on this post - List View - Cool Looking ADF PS6 Component for Collections.

ADF 11g R1 apps implemented with JSPX technology are running fine as well. Here is example of List View component app implemented originally with ADF 11g R1:


ADF UI 12c is rendered correctly, List View brings Master-Detail data:

16 comments:

Julien Schneider said...

Hi,

and what about MDS repository for customization ?
Do we have to wait for a 12c version or can we use the 11g ?

thanks

Andrejus Baranovskis said...

MDS is available in 11g, you can use MDS customization already in 11g version. Or you mean using MDS customization with ADF 12c, then you would need to wait for MDS 12c repository I suppose.

Andrejus

Gourav Raj said...

Hi,
We have migrate our application to 12c.
We didn't get any error in migration but when we run our migrated application in 12c we got an unexpected error and unable to run application.

Andrejus Baranovskis said...

I think is too early to migrate your production system to 12c, I noticed some ADF runtime issues, as well as JDEV IDE issues. I would wait for the next update.

Andrejus

Aurimas Lacitis said...

Hello,

do You recommend to build new applications with 12c, or still with 11g and migrate later when 12c is more stable?

Andrejus Baranovskis said...

If this will be new application, yes I would go with 12c. By the time you will move to production, probably there will be already next 12c update and then it will be much easier to move.

I think you will need more testing in the future, when moving from 11g to 12c, instead of moving from current 12c release to the next update.

Andrejus

Jaime Cid said...

but be careful if your customer is using other FMW 11g products like WebCenter Portal 11g or BPM 11g, because you have to stay with 11g stack. FMW 12c will arrive later.

Andrejus Baranovskis said...

Exactly, why I would recommend to stick with 11g for current production systems. And start with 12c only for new ADF apps.

Thanks,
Andrejus

John Flack said...

I've got an 11.1.2.3 application in development with a strange problem that I narrowed to be a possible bug in ADF Faces. So I decided to branch it and try a migration to 12c. Migration went as smoothly as yours did, and the application worked fine and the bug was GONE. However, there were some strange problems with the JDBC connection to my database - for instance, it started to give ORA-01017 (invalid password) problems - despite the fact that I could use the database browser with it. I deleted the connection and re-created it - this fixed the problems.

Andrejus Baranovskis said...

Thanks for update John. I wonder if this was Data Source problem, may be AM is not using Data Source defined in WebLogic.

Andrejus

Anonymous said...

We planned to develop an application using oracle fusion middleware(ADF, SOA, Webcenter). Which version is ideal for me?

Andrejus Baranovskis said...

Currently it would be 11g PS6 (11.1.1.7.0)

Andrejus

Ankit Gupta said...

Hi Andrejus,

I moved my application from 11g to 12c and noticed that the bindings were deleted in the page definition.

Is there a specific step to retain the bindings of the page while doing the migration?

Andrejus Baranovskis said...

Nope, I didnt had this problem.

Andrejus

Anonymous said...

Hi Andrejus

I want to begin building my first Application , Please Advise me which one the best of Jdeveloper Release to Work On it ?

thanks

Andrejus Baranovskis said...

JDeveloper 11.1.1.7 is the most stable.

Andrejus