O'Reilly logo

Developing Web Applications with Oracle ADF Essentials by Sten E. Vesterli

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building entity objects for the example application

In order to illustrate the process of building business components, we will build the necessary objects to show customers and their rentals. This will involve the following objects in the Sakila database:

  • customer
  • rental
  • inventory
  • film

Preparing to build

Before you start creating entity objects, you need to create a connection to the database inside your application. This is done like in Chapter 1, My First ADF Essentials Application, by navigating to File | New | Connections | Database Connection. Give your connection a name, choose Connection type MySQL, fill in username (root), password, port (default is 3306), and database name (sakila). You don't need to select a library again –– JDeveloper has ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required