Académique Documents
Professionnel Documents
Culture Documents
Document No.
Version 1.0
Date
17-DEC-2007
Page 2
no s uF sse n s u B E i / i -
Page 3
Page 4
Model-View-Controller (MVC)
notifies
View
sees
Model
navigates
manipulates
Controller
uses
User
Page 5
Page 6
E-Business/Fusion stack uses JSF with the ADF Faces component set for the view.
Page 7
Page 8
Web and Wireless JSF/ADF Faces JSF View Controller Model (JSR 227)
EJB TopLink
Java Classes
Web Services
XML
Business Services
Data Source
Relational Data
XML Data
Legacy Data
Page 9
Packaged Apps
Page 10
Page 11
ADF/JSF Faces
Page 12
Defined through the Java Community Process Standard support as part of Java EE 5 In J2EE 1.4, implemented as a servlet
Multiple implementations
Page 13
Page 14
Navigation
Page 15
myNewPage
firstPage.jsp
myNewPage.jsp
Page 16
Page 17
Page 18
Business Components
Page 19
Page 20
Entity Object
Page 21
Entity Object
Represents a database table or other data source Handles database caching Contains attributes representing the database columns Encapsulates attribute-level and entity-level validation logic Can contain custom business methods
Page 22
View Object
Page 23
View Objects
Present a view or slice of business data Are used for joining, filtering, projecting, and sorting your business data Can be based on any number of entity objects Can also be constructed from a SQL statement
Page 24
Use SQL-based view objects for query-only views, which do not need the functionality of entity objects.
Page 25
Page 26
View Links
A view link is an active link between view objects. You can create view links by providing the following: Source and destination views Source and destination attributes
Page 27
Application Module
Page 28
Page 29
Data Binding
Page 30
Page 31
Page 32
Bindings
Bindings
Page 33
Data control type ADF BC TopLink EJB JavaBean Web service URL
Page 34
Page 35
Page 36
Model Project
DataBindings.cpx <pagename>PageDef.xml
View Project
web.xml faces-config.xml adf-faces-config.xml adf-faces-skins.xml
Page 37
Deployment
Page 38
Deployment Modes
Java client local: ADF-BC components and Java clients share a JVM. Is deployed as a simple archive Web client Web module : most common for deployment ADF-BC components and Java clients share a JVM. Runs in an application server Java client remote mode : most common for deployment Separate JVMs for Java client and ADF-BC components Is deployed with a remoteable interface Web client remote mode: Both run on Application Server. ADF-BC runs in an EJB container.
Page 39
Page 40
Q&A
Page 41
Thank You
Page 42