Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Developing Web Applications with Oracle ADF Essentials

You're reading from   Developing Web Applications with Oracle ADF Essentials Quickly build attractive, user-friendly web applications using Oracle's free ADF Essentials toolkit

Arrow left icon
Product type Paperback
Published in Aug 2013
Publisher Packt
ISBN-13 9781782170686
Length 270 pages
Edition 1st Edition
Arrow right icon
Toc

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 associated the library you defined in Chapter 1, My First ADF Essentials Application permanently with MySQL connections.

Another thing you want to do before building the business components is to tell JDeveloper which Java packages the various...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime