Migrating ADF 10g to 11g - Should You?

So you have a 10.1.3.* based ADF Faces application, and you are wondering if you should upgrade it to 11g and how.

To make the right decision, you first need to define to yourself what are your goals for the application. Here are some options:

You just want to have the application as is running on WebLogic instead of the old Oracle Application Server

If this is the case, you don't actually need to upgrade - you can just take the 10.1.3.5 application as is and deploy it to a WebLogic instance. A while back I wrote a paper and recorded a demo showing how to take an ADF 10.1.3 application and deploy it on WebLogic. And while the demo was using an older WebLogic - the steps still apply to WebLogic 11g. This should be the fastest way to get you to run on WebLogic without any code re-writes.

You really like the new UI capabilities of ADF Faces Rich Client Components 11g and want to take advantage of them in your UI

In this case I think you should consider a complete re-development of your application's UI layer. You can keep your Model/Business Services layer as is though.

Why? Well, the capabilities that ADF Faces 11g give you in terms of UI layout and user interaction, coupled with the unique capabilities that the ADF Controller's taskflows and regions provide,  are a far departure from what you were able to build in the 10.1.3 days.

So to truly take advantage of those, you should really invest the time to design and develop with these new capabilities in a new way.

But my 10.1.3 application is too big to redevelop the UI in one go

If you want to take a stepped approach to 11g adoption you could have a hybrid application that uses ADF Faces 11g for the new screen, keeping the old screen "as-is" almost. The tricky part is that your old screen will need to be migrated to use the Trinidad components in order to live in peace with the ADF 11g in the same project. Trinidad is based on ADF Faces 10.1.3 and has mostly parallel capabilities.

When you open your 10.1.3 application in JDeveloper 11g, JDeveloper will offer to do the migration for you. While JDeveloper will do the best it can to automate the migration - there will still be things that you'll need to do manually. How much manual work you'll need to do depends on what feature of ADF Faces you used and also how much extra CSS/JavaScript is in your pages.

For a basic introduction to the work involved read this migration of SRDemo document and pay attention to the link at the bottom to this page about ADF Faces 10.1.3 to Trinidad migration .

Now that you know what is involved you might have better data to make your call on the right approach for you. Note that it might be worthwhile choosing several screens from your application and trying the Trinidad migration and the complete 11g re-write to see what is the actual effort involved in each. This will give you more exact data on what is the right approach for you.


Comments:

Hi Shay,
I am new to Oracle ADF. I am trying to create a simple CREATE page by having the submit button using ADF form. When there are no rows in the DB table, all the input fields are not displayed. I am not trying to navigate through the table in DB. I just want to create new records in DB through the view. I dont want to display the existing values in DB if it already exists. Could you please help me out. Thanks in advance.

Kind Regards,
Ravi Kumar.

Posted by Ravi on August 08, 2012 at 08:14 AM PDT #

Ravi - these questions should go on the JDeveloper forum on OTN:
https://forums.oracle.com/forums/forum.jspa?forumID=83

In general you'll use the createInsert operation of the VO which you can drag and drop as a button on your page, or alternatively as a method in your taskflow that is called before you navigate to your page.

Posted by Shay on August 08, 2012 at 10:21 AM PDT #

Hi Shay,

The application I work on is currently deployed in OC4J 10.1.3.5 using a combination of jsf and adf components. The app also utilises Struts Tiles to give a common look and feel to screens. As part of upgrading to Weblogic server we would like to use the new adf rich faces components but would have a large number of jsp screen to redevelop for what is currently only a very small development team. Do you think
that our mix of jsf, adf and tiles still allows the stepped approach you list in your blog? Any advice appreciated.

Thanks,

Pete.

Posted by Pete on October 25, 2012 at 06:22 AM PDT #

Pete, I'm not sure - I never tried Tiles integration with Trinidad components - and I'm not sure if the automatic migration from ADF Faces to Trinidad will know to handle this scenario - you'll need to test it and see.

Posted by Shay on October 26, 2012 at 10:16 AM PDT #

Thanks for the response Shay. A couple of further questions regarding moving to Weblogic. The ideal would be to move to Weblogic 12C to take advantage of the longer Oracle support over 11g however ADF is not currently certified for 12C. Can you provide any info on when ADF 12C will be available and Oracle's long term commitment to ADF?

Thanks,

Pete.

Posted by Pete on October 29, 2012 at 02:20 AM PDT #

ADF 12c will run on WebLogic 12c - this is expected in 2013.
The fact that all of Oracle's Fusion Applications are based on Oracle ADF - should be enough of an indication about Oracle's commitment to ADF.
(and you can add to those apps also Enterprise Manager, WebCenter, the Oracle Support site and many other Oracle products and applications).

Posted by Shay on October 29, 2012 at 10:10 AM PDT #

Hi I am new to Oracle ADF. I need to migrate a 10g application to 11g and create a skin and apply changes. I did deploy and create a skin but the changes I make in the skin does not reflect in the browser when I open the .jspx page. The way I deployed it is by just opening the application in 11g and it said it's been deployed. Is there something I'm missing? Thanks in advance.

Thanks,

Sally

Posted by guest on November 26, 2012 at 06:50 AM PST #

Sally - post your question on the JDeveloper forum on OTN.
And when you do please clarify are you now using the new ADF Faces 11g components or are you still using the Trinidad components and also how did you define your skin and project setting. Skinning is a little different between the two.

Posted by Shay on November 26, 2012 at 09:41 AM PST #

Hi Shay,
Thanks for the post, do I need to migrate my ADF application from 10g to 11g if the database is migrated from 10g to 11g ?
thanks

Posted by yaccoub on March 18, 2013 at 11:09 AM PDT #

Yaccoub, A change in the DB version doesn't mean you need to upgrade your application as long as the ADF version you are using supports the DB version you are using. Check out the certification matrix for the version you are using.
http://www.oracle.com/technetwork/developer-tools/jdev/documentation/jdev-prev-rel-393611.html

Posted by Shay on March 19, 2013 at 11:19 AM PDT #

Hi shay,

I have migrated one ADF 10G Application into ADF 11G(with Trinidad UI).
I would love to share my experience on it.

Thanks,
Neelmani Jaiswal
http://jneelmani.blogspot.in/2012/02/adf-migration-10g-to-trinidad.html

Posted by guest on May 14, 2013 at 04:22 AM PDT #

Hi shay,

We have a requirement where Java ADF-Web(uses struts 1.1, JSF, JSTL plugin's) applications developed on Jdev 10.1.3 running on Appserver should be deployed to Oracle Weblogic server 11g. and the Jdeveloper is 11.1.2.3. We are not interested to use any of new features and just want the applications to be able to run on Oracle Web logic server without issues.
Please let us know if it is feasible without Migrating the files and the path we need to take.

Appreciate your feedback.

Thanks a lot in advance.

Posted by KNP on January 31, 2014 at 02:40 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

me
I'm a Director of Product Management for the Oracle Java Development Tools.
Follow me:
Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today