Shay Shmeltzer's Oracle Development Tools Tips

New ADF Book - Oracle JDeveloper 11gR2 Cookbook - Quick Review

Shay Shmeltzer
Director of Product Management - Oracle

Packt Publishing has a new ADF book in their arsenal for you - it's the new "Oracle JDeveloper 11gR2 Cookbook" by Nick Haralabidis.

You might be wondering "do we really need another ADF book out there? is it any different from the other ADF books?"

I think, you'll find that this book is targeting a different audience. This book is not aimed at teaching ADF to beginners, in fact it assumes that you already know all the basics of Oracle ADF. What this book aims to do is take you beyond the wizards and declarative features and give you recipes for more advanced ADF tasks.

The major part of the book is dedicated to a collection of how-to's or recipes such as "Setting up cascading LOVs", or "exposing custom AM methods as Web services" or more advanced things like "restoring current row after a transaction rollback", or "Using an af:selectManyShuttle component" or "Using a taskflow initializer". These cover all the layers of the core ADF (ADF BC, ADFc, ADF Faces) and also some related aspects such as tuning, logging, testing etc.

I like the way the recipes are presented. First you get a step by step instruction on how to achieve the task at hand, and then you get a "How it works" part that actually explain why you did the steps and what they mean.Then there are pointers to some additional things to be familiar with in a "There's more..." section and also pointers to related recipes or Oracle documentation chapters - in the "see also" section. This structure differentiate the how-to's here from a lot of the how-to's that people publish on blogs.

It is true that if you google for many of the tasks that are covered in this book, you are likely to find the solution on someone's blog - but I'm not sure the explanation and details on the blog would be at the level you get in this book. It is also nice to have all of these recipes in one place in a printed format with explanation that you can take with you and read when needed.

I also believe that if you'll read through the book from start to end you'll get a better understanding of the inner working of Oracle ADF - something that many developers who have already started developing with Oracle ADF will find useful. One more point in favor of this book is the fact that it uses the latest JDeveloper 11.1.2 version.

To get a taste of the way this book is structured take a look at the sample chapter published here (pdf).

 All in all - this is a very good addition to any ADF developer's bookshelf.

Join the discussion

Comments ( 7 )
  • Reza Rahman Wednesday, February 15, 2012

    I am starting a new project on Oracle Fusion but wish to use Java EE as much as possible and avoid non-standard code while still getting the productivity benefits of ADF/JDeveloper/Fusion. What architectural approach/resources do you recommend? So far, I gather that I need to use JSF, ADF Faces, Facelets, ADF Data Controls/Binding, ADF Controller, EJB and JPA. Can/should I use managed beans?

    The only helpful resource I could find is this: http://docs.oracle.com/cd/E24382_01/web.1112/e17272/toc.htm. There is also this resource: http://docs.oracle.com/cd/E24382_01/web.1112/e16182/toc.htm but it seems very Fusion focused, including ADF BC (very proprietary so I'd like to avoid it).

    Please feel free to recommend helpful books.

    Many thanks in advance.

  • shay Wednesday, February 15, 2012


    It is basically up to you to decide how much of the ADF stack you want to use.

    You can decide to use just the ADF Faces components as a set of JSF components.

    you can then decide to add the controller to enable JSF reusability and dynamic regions.

    You can then decide to add the binding layer to simplify data binding between services and UI.

    The first book you pointed to "Oracle Fusion Middleware Java EE Developer's Guide for Oracle Application Development Framework" is the one covering JPA/EJB backend in an ADF scenario.

    A sample application is the Summit JPA one here:


    We do have a tutorial that show the basics of working with JPA/EJB and ADF here:


    And several posts on blogs will help too:


    For the other layers of ADF (ADF Faces, Controller, binding) the regular books should still be relevant for you.

    And for learning the JPA/EJB part you can pick up any generic Java EE book - nothing special there about ADF.

    As far as using Managed bean - it all depends on whether you want to use the ADF binding layer - if you'll use it you'll end up writing a lot less code in managed beans.

  • Reza Rahman Thursday, February 16, 2012

    OK, thanks very much for the insight.

  • venu Friday, September 28, 2012

    Hi ,

    Iam developing an application using ADF mobile browser.Iam using trinidad UI components. I dragged and dropped a datacontrol to edit employee details.But when i edit and click submit button it not getting updated in the database.Do i need to write code in the managed bean for this or will it be handled by ADF.

  • Shay Friday, September 28, 2012

    Venu, you need to drag the commit operation from the AM's data control to the submit button so it would actually do a commit to the DB.

    See the basic ADF tutorial:


  • venu Sunday, September 30, 2012

    Hi shay ,

    Thanks for the link.I have some doubts .If i want to expose the delivered functionalities to mobile users how i can reuse the datamodels available ?

    Or if i have to make customization to a delivered module .How i can do this.

    All are packaged as war and ear files.

  • Shay Friday, October 5, 2012


    The same model project can be used for multiple view projects - some of them can be mobile and other Web.

    Package your Model project as an ADF library for reuse.

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