by: rohan walia oracle adf and webcenter portal implementation

22
By: Rohan Walia Oracle ADF and Webcenter Portal Implementation Specialist

Upload: vukiet

Post on 27-Dec-2016

224 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

By: Rohan Walia

Oracle ADF and Webcenter Portal Implementation Specialist

Page 2: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

� Oracle ADF and Webcenter Consultant.

� Oracle Certified ADF & Webcenter Implementation specialist.

� Consultant, Blogger, Speaker and open networker.

� Passionate about Oracle Technologies.

� Have been working in Oracle/Java products from 8.5 years.

� Currently working with Oracle Consulting.

� Blog – http://rohanwalia.blogspot.in/

� Twitter - @rohanwalia17

Must Be thinking !

Page 3: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

� Nothing is as Certain as “CHANGE”

� Good Applications is one with Longevity.

� Need to protect the investment in Application Development.

� Need to react to change should be part of App Design.

� It should not come as a shock after App Development.

Page 4: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

� Personalization - User Customizations

� Seeded Customization

Page 5: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

� Personalization or User Customization

� Every end user is Unique.

� Different preference for how they like UI to be rendered.

� Users like to make themselves at home within the application.

Page 6: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

� Visual and declarative development using Best Practices.

� ADF uses XML where ever possible, to configure and drive these technologies.

� Provides powerful MDS Framework for Customizations/Personalizations.

� This use of metadata is a key component of the overall ADF architecture.

� XML enables OOTB Customization as these are done using XML and not code.

� Code does not needs to be compiled to apply Customizations.

� Provides configurations to enable and implement customizations without too much learning curve.

Page 7: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

Business Services

Data Services

Model

Controller

JSF View

Desktop Browser-Based

OfficeADFSwing

MDS in OracleMDS in OracleMDS in OracleMDS in Oracle ADFADFADFADF

EJB BAMADFBC PortletsBIBPELWeb ServicesJava

ADF Faces

Metadata Services (MDS)

Mobile

Database Web Services Legacy Systems Apps Unlimited

JSF ADF Controller

ADF Binding

Mobile

Page 8: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

� Oracle Metadata Services (MDS) is the personalization and customization engine within Oracle Fusion Middleware that manages all of this XML metadata of behalf of components such as JDeveloper and ADF.

Metadata is used by the following components

� ADF Faces rich client Java Server Faces components

� ADF Faces Data Visualization Tools (DVT)

� ADF Task Flow

� ADF Binding layer

� ADF Business Components

� Oracle WebCenter

Page 9: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

� Dynamic Structure and Property changes.

� Changes are on Metadata of Views, bindings and fragments.

� Addition and removal of properties on the components of Page or Fragments(JSFF).

� Application consist of one Base Application.

� One or Many Customization Layers holding modifications are applied at runtime.

� Customization layer is defined by set of metadata documents.

� These are stored in metadata store on file system or MDS database repository.

� Customization layer Object determines when to apply these changes.

� Customization layer object is simple java class.

� Customization layer determines specific conditions under which customization needs to be applied to application on run

Page 10: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation
Page 11: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

MetadataMetadataMetadataMetadataRepository Repository Repository Repository ----File or DBFile or DBFile or DBFile or DB

Page 12: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

� Plain Old Java Object

� Determines when to apply customization to base document.

� Objects for Common scenarios is provided by ADF Framework.

� Customization Layer Object needs to be registered in the application.

� E.g. : UserCC , SiteCC , ADFRoleCC etc.

� Developer can create Custom Object by extending oracle.mds.cust.CustomizationClass

� Needs to override getCacheHint() , getName() and getValue() methods.

� Value returned by getValue() method determines when to apply customization

Page 13: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation
Page 14: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation
Page 15: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

ADF Faces components are added in adf-config.xml for which persistence is required.

Page 16: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

� Context Param CHANGE_PERSISTENCE is added to Web.xmlWeb.xmlWeb.xmlWeb.xml

� Has value FilteredPersistenceChangeManager

� MDSDocumentChangeManager gets Configured in adfadfadfadf----config.xmlconfig.xmlconfig.xmlconfig.xml

Page 17: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

� Component Changes occur in response of User – UI Interaction.

� They consist of change of properties/attributes of components.

� Implicit component changes are performed by the ADF Faces component renderers.

� Implicit changes are defined in adf-config.xml components and tags.

� Explicit changes are initiated by developer using ADF ChangeManager API.

� ChangeManager can accessed through FacesContext to perform explicit changes.

� FilteredPersistenceChangeManager◦ Gets into action for every UI component change request.

◦ Verifies that no restrictions have been applied by the developers to individual component instances.

◦ Verifies whether restrictions are applied using persist and dontPersist attributes on Components.

� MDSDocumentChangeManager◦ After all the validations(as above) changes are passed to MDS Document Change Manager.

◦ Is referenced by FilteredPersistenceChangeManager after validations in defined in adf-config.xml

◦ Updates the MDS metadata document associated with a page.

Page 18: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation
Page 19: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

� Allow developers to pre define application settings for individual or group of users.

� Seeded Customizations are pre defined during development.

� They are dynamically applied to the application at runtime.

Page 20: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

Changes are done for Customization Values Changes are done for Customization Values Changes are done for Customization Values Changes are done for Customization Values in Customization Developer Modein Customization Developer Modein Customization Developer Modein Customization Developer Mode

Page 21: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation
Page 22: By: Rohan Walia Oracle ADF and Webcenter Portal Implementation

Questions ?

in.linkedin.com/in/rohanwalia/

[email protected]

@rohanwalia17

http://rohanwalia.blogspot.in/