Introduction

With Oracle ADF, it is possible to expose a plain Java Bean as a Data Control. The advantage is that the Data Control can then be used as usual – it can be dragged into a page fragment, and JDeveloper allows to choose the UI component to create, like a Table, a Form or a simple output text. JDeveloper automatically creates the required binding and also the necessary markup in the page fragment. Lets assume that we have a boilerplate application with a page fragment where we would like to add a UI like the following, to show the current time in different time zones which we can select from a list:

The next page shows how to implement the business logic for this use case using a Data Control: Implementing the Data Control