Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Oracle ADF 11gR2 Development Beginner's Guide
  • Table Of Contents Toc
Oracle ADF 11gR2 Development Beginner's Guide

Oracle ADF 11gR2 Development Beginner's Guide

By : Vinod Thatheri Krishnan
4.1 (10)
close
close
Oracle ADF 11gR2 Development Beginner's Guide

Oracle ADF 11gR2 Development Beginner's Guide

4.1 (10)
By: Vinod Thatheri Krishnan

Overview of this book

Oracle ADF is an end-to-end framework which makes application development simple by providing infrastructure services as well as visual and declarative development right away. "Oracle ADF 11gR2 Development Beginner's Guide" guides any user with programming skills to be able to quickly learn the options and ways to develop rich Internet applications using ADF 11gR2. Containing all the skills that a new user has to use to build an application in ADF 11gR2, this book is designed in such a way so that it enhances the practical feel of developing applications in ADF 11gR2. Starting with the installation and configuration of Oracle ADF 11g RD we will then work through topics such as working with the Model Layer and Model Data followed by displaying and binding the data. Later we will look at Navigations and Flows within applications as well as their layout, look, and feel. "Oracle ADF 11g R2 Development Beginner's Guide" will conclude with us looking at the security and deployment of the applications which have been created.
Table of Contents (14 chapters)
close
close
13
Index

Time for action – learning to override a method


The following steps will show how to override a method from the class and then write our own logic in the method. We will have EmpDirectoryModuleImpl as our example here:

  1. Right-click on the EmpDirectoryModuleImpl class and select the Source option.

  2. Click on the Override Methods… option to override the operations from the base class.

  3. Type in the method name, for example befo, in the search box that will fetch methods starting with that literal.

  4. Check the beforeCommit() operation and click on OK.

  5. Add the following code:

    ViewObject vo = findViewObject("EmpVO3");
    vo.clearCache();
    vo.executeQuery();
  6. This code has to be added before the super.beforeCommit(transactionEvent) code statement.

What just happened?

Before committing the transaction:

  • We are providing a handle to the EMPVO3 view object, which is the view instance of the child view object for DeptVO1

  • The second line clears the cache for the view object and the last line will execute the query.

Have...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Oracle ADF 11gR2 Development Beginner's Guide
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon