X

Shay Shmeltzer's Oracle Development Tools Tips

Migrating ADF 10g to 11g - Should You?

Shay Shmeltzer
Director of Product Management - Oracle

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.


Join the discussion

Comments ( 19 )
  • Ravi Wednesday, August 8, 2012

    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.


  • Shay Wednesday, August 8, 2012

    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.


  • Pete Thursday, October 25, 2012

    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.


  • Shay Friday, October 26, 2012

    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.


  • Pete Monday, October 29, 2012

    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.


  • Shay Monday, October 29, 2012

    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).


  • guest Monday, November 26, 2012

    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


  • Shay Monday, November 26, 2012

    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.


  • yaccoub Monday, March 18, 2013

    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


  • Shay Tuesday, March 19, 2013

    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


  • guest Tuesday, May 14, 2013

    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


  • KNP Friday, January 31, 2014

    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.


  • guest Monday, July 7, 2014

    We have a few applications deployed on Oracle Application Server 10.1.2.3 using a combination of Jedeveloper 10g jsf and adf components.

    Will the conversion to Weblogic 12c require re-writing all the applications?


  • Shay Monday, July 7, 2014

    Guest. It depends on the specific of your app. First step would be to bring your app to 10.1.3.5 and then run it on Weblogic to check.


  • SK Monday, July 7, 2014

    Shay, Thank you for your prompt response. Will the UIX components seamlessly migrate from 10.1.2.3 to 10.1.3.5?

    Also, what about the Oracle Single Sign On 10.1.2.3?


  • Shay Monday, July 7, 2014

    SK - You can try the UIX to ADF Faces migration utility, depending on how you used UIX it might be helpful.

    Frankly if your UI is still based on UIX, I would consider re-writing your UI with a newer technology the 12.1.3 version of ADF Faces and just reusing your model layer.


  • guest Thursday, September 10, 2015

    Hi Shay,

    Your post is too good, and I have suggested this approach for a potential migration. However I would like to know if the ADF 10g application can be run on Weblogic 12c using the same steps that you have provided above.

    Thanks,

    Santosh


  • guest Thursday, September 10, 2015

    Hi Shay,

    In addition to my previous post, I tried this approach and faced the below issues.

    a. Could not create a connection to weblogic 12c since the latest option in weblogic 9.x

    b. Tried deploying the ear directly, deployment failed.

    Please let me know if this is feasible at all.

    Thanks so much,

    Santosh


  • Shay Friday, September 11, 2015

    Santosh - we haven't tested ADF 10 on WLS 12 - so I'm not sure if it will work.

    You might want to follow up on the ADF forum on OTN with the specific errors you are getting when trying to deploy the EAR.


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.