Updating data sources with data adapter
This chapter includes the following sections: Data controls are an abstraction provided by ADF Model than enable you to work with data and business services in a declarative manner and easily create UI components.For more general information on data controls, see Section 1.1, "About ADF Model." You use the bean data control type to create data controls for plain Java objects (POJOs) and JPA-based Java service facade classes.For more information, see Section 4.2, "Preparing a Bean to Expose with a Data Control." You need to complete this task: Once you have your bean in place, you can use JDeveloper to create data controls that provide the objects needed to declaratively bind UI components to the bean's services as well as any built-in operations provided by the data control.You create JPA-based bean data controls from within the New Gallery or the Applications window.Next, the generator will prompt you to type the datasource settings, such as host, port, user, password and database name, as well as to install the database connector.This chapter describes how to create data controls for Java Beans components that are based on the Java Persistence API (JPA) and plain Java objects (also known as "POJOs").Bean data controls exposes the same types of objects as EJB data controls.For more information, see Section 3.2.2, "EJB Data Control Objects.".
For more information, see Section 4.9, "Creating Custom Bean Data Controls." When you create a data control based on a bean, the data control exposes several different types of objects, each of which you can bind to a variety of UI components.
Similar to EJB data controls, JPA-based bean data controls enable you to work with persistent data.