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

How ADF business components work


When you create an ADF business component (entity object, view object, and so on), JDeveloper initially creates only an XML file describing the object (which table, which attributes, and so on). Part of the XML file for an entity might look like as follows:

<?xml version="1.0" encoding="windows-1252" ?>
...
<Entity
  xmlns="http://xmlns.oracle.com/bc4j"
  Name="Film"
  Version="11.1.2.64.36"
  DBObjectType="table"
  DBObjectName="sakila.film"
...
  <Attribute
    Name="FilmId"
    IsNotNull="true"
    ColumnName="film_id"
    SQLType="SMALLINT"
    Type="java.lang.Integer"
    ColumnType="SMALLINT"
    TableName="sakila.film"
    PrimaryKey="true">
...
</Entity>

At runtime, the ADF framework automatically creates and runs the Java classes that read these XML files. For example, ADF creates an instance of the oracle.jbo.server.EntityImpl class whenever ADF needs to work with an entity object. The specific instance of the class reads the...

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