Académique Documents
Professionnel Documents
Culture Documents
Objectives
After completing this lesson, you should be able to do the following: Work with the JDeveloper integrated development environment (IDE) Explain how metadata files relate to data controls Identify Application Development Framework (ADF) data control and data binding files Describe ADF Faces and Web configuration files Explain the hierarchical relationship of Extensible Markup Language (XML) metadata files in a Web application Describe the file structure of a Web application
1-2
Agenda
JDeveloper Overview Metadata Files File Layout
1-3
Launching JDeveloper
You can launch JDeveloper by:
Double-clicking jdeveloper.exe in the <JDev Home> directory Starting from the command line or a shortcut pointing to jdev.exe in the <JDev Home>\jdev\bin directory
1-4
1-5
1-6
Agenda
JDeveloper Overview Metadata Files File Layout
1-7
Metadata: Overview
ADF Business Components (ADF BC) are metadata-driven with optional Java code. In addition to defining components in the model, metadata files are used to:
Specify parameters, methods, and return values for data control usage Create objects in the ADF binding context and define their run-time behavior Define the configuration for UI components Define the application configuration for Java EE application server
You can modify metadata in the Structure window, Property Inspector, or by using other design-time facilities.
1-8
<page>.jspx or .jsff
References bindings defined in the page definition file bc4j.xcfg
Defines AM names and their database sources with any run-time parameters used
<AM>.xml
1-9
bc4j.xcfg
1 - 11
1 - 12
1 - 13
1 - 14
1 - 15
Is located in the \adfmsrc directory of the UI project Displays in the Application Navigator under Application Sources > package > node
1 - 17
DataBindings.cpx
1 - 19
Binding Container
Data control
1 - 20
1 - 21
1 - 22
1 - 23
1 - 24
1 - 25
Properties editor
Flat editor
1 - 26
Model project:
<project>.jpx
UI project:
pagetemplate-metadata.xml
Any project:
<project>.jpr <project>Bundle.properties
1 - 27
Agenda
JDeveloper Overview Metadata Files File Layout
1 - 28
<Application>
<Application>.jws
.adf META-INF
adf-config.xml
connections.xml
src
META-INF
cwallet.sso
jps-config.xml
orion-application.xml
<Model Project>
<UI Project>
1 - 29
<Model Project>
<Model Project>.jpr
classes <Model Project>Bundle.properties src <package> common bc4j.xcfg <Model Project>.jpx <business component>.xml files <business component>.java files
1 - 30
<UI Project>
<UI Project>.jpr
adfmsrc
META-INF
adfm.xml
DataBindings.cpx
classes
<package> pageDefs
<Page>PageDef.xml files
model
WEB-INF
1 - 31
<package>
WEB-INF
faces-config.xml adfc-config.xml
trinidad-config.xml web.xml
<package>
1 - 32
Summary
In this lesson, you should have learned how to: Work with the JDeveloper IDE Explain how metadata files relate to data controls Identify ADF data control and data binding files Describe ADF Faces and Web configuration files Explain the hierarchical relationship of XML metadata files in a Web application Describe the file structure of a Web application
1 - 33
Practice 1
This practice covers the following topics: Examining configuration files Tracing data from a page back to its source
1 - 34