ADF - Built on top of the MVC-based JavaServer Faces framework, Oracle Application Development Framework (ADF) forms the foundation for WebCenter Portal's components and services. ADF is an innovative, yet mature Java EE development framework available from Oracle, and, unlike most other frameworks, is directly supported and enabled by the award winning development environment, Oracle JDeveloper 11g.ADF provides unified access to back-end technologies like databases, web services, XML, CSV, BPEL, and many more. Furthermore, ADF provides data binding to connect UI with back-end data controls.Out of the box, ADF provides more than 100 data aware, JSF view components. The fine-grained JAAS security model gives developers and administrators full control over all aspects of application security. Webcenter Portal - Oracle WebCenter Portal: Framework is a modern portal framework that speeds delivery of portals and websites and extends the capabilities of traditional enterprise portals. The Framework enables both developers and business users to collaboratively build out the exact portal solution required for internet, extranet, intranet, or social computing applications. A rich array of features and services enable you to: Build and consume standards-based portlets.Integrate content from many different content stores through standard interfaces and the Content Presenter task flow. - Build pages that are consistent in structure, layout, and look and feel.- Build navigation components to facilitate enterprise-wide reuse as well as deliver dynamic query and content-based navigation.- Apply themes and skins to change the application's appearance without changing the portal pages themselves.- Apply delegatedsecurity policies to a hierarchy of portal pages and other navigable elements, like portlets and content.
The Oracle JSF Portlet Bridge:Simplifies portlet development by enabling you to provide portlet functionality using JSF rather than relying on the JSR 286 portlet APIs.Simplifies exposing your JSF application to JSR 286 portlet consumers, such as Oracle Portal and Oracle WebCenter Spaces.Eliminates the requirement to store, maintain, and deploy your portlets separately from your application by enabling the application to run simultaneously as a regular web application and as a portlet from the same installation.Enables you to create portlets at a more granular level by exposing task flows as portlets. Because portletized task flows are WSRP portlets, this also enables you to use distributed task flows.
Each portlet is referenced by <adfp:portlet > tag
When you upgrade a 10g portlet producer application, the WebCenter migrator deletes oracle-portlet.xml and upgrades portlet.xml. It converts the navigation parameters stored in oracle-portlet.xml into public render parameters and adds them to portlet.xml. If weblogic-portlet.xml exists, it is retained as is.The migration of a JSR 168 portlet producer application to JSR 286 is fully automated; it does not require you to perform any additional manual steps. However, based on the warnings that may be displayed in the log panel during migration, you may want to make additional changes to portlets. The following tables describe how various parameters in the oracle-portlet.xml file of a JSR 168 portlet producer application are handled in portlet.xml of a JSR 286 portlet producer application.In Oracle WebCenter 10g, Oracle JSF Portlet Bridge is based on and conforms to JSR 301, whereas in Oracle WebCenter 11g, Oracle JSF Portlet Bridge conforms to JSR 329.In JDeveloper 11g, when you open for the first time an existing portlet producer application containing JSR 168 portlets, portlets are automatically upgraded to be JSR 286 compliant. If the application is a portlet bridge application, it is further automatically upgraded to be JSR 329-compliant.Read more: http://www.techartifact.com/blogs/2013/03/jsr-286jsr-168-portlet-compatibility.html#ixzz2OBQhd7Fc
Summarize presentation content by restating the important points from the lessons.What do you want the audience to remember when they leave your presentation?Save your presentation to a video for easy distribution (To create a video, click the File tab, and then click Share. Under File Types, click Create a Video.)
Webcenter Portlal training...
PORTAL IN ADF & WEBCENTER VINAY KUMAR 21/03/2013
New to ADF or Webcenter Portal?• Are you Familiar with Oracle ADF ?• Ever experience Webcenter Portal…• Experience in portlets
Today’s Overview • Familiarize yourself with 1 ADF and Webcenter Portal framework 2 • Learn how portlets work 3 • Portlet Communication
Learning Objectives• ADF & Webcenter Overview• What is Portlet?• Portlets Producer Types and Modes• ADF Task flows v/s Portlets• Developing Portlets in ADF• Testing and Deploying Portlets• Consuming Portlets in Webcenter Portal and Spaces• Portlet Communication• Tips & Guidelines
Working Toward Mastery in Webcenter Portal Achieve MasteryProjects Worked On Get Experienced Get Familiar Time Spent
ADF & WebcenterWhat is ADF? End to end framework builds on JEE standardplatform to develop Web 2.0 Applications.It based onJSF components.What is Webcenter? Extensional framework builds on top of ADF todevelop Enterprise 2.0 portals with features likePortlets, RSS, Discussion forums and ContentmanagementWhat is Jdeveloper? A free integrated tool to build Java-SOA basedapplications
Things to do• Download and Install Oracle database i.e.Oracle XE• Download and Install Oracle Jdeveloperversion above 188.8.131.52• Download and Install Oracle WebcenterExtensions for Jdeveloper
What is Portlet? • As per Wikipedia "Portlets are pluggable user interface software components that are managed and displayed in a web portal." • Reusable component visible on page • Draws content from different sources • Often compare to web-services and ADF task flows • Can be local or remotely deployed • Can display excerpts from other sites • May or may not be rendered in in-line IFRAME • Can display elements of HTML, formatted text, images
Portlet Types• JSF Portlets• Programmable Portlets • Standard Java Portlet (JSR 168) • PDK-Java Portlet• Web clipping• Omni Portlet• Parameter Form and Parameter Display Portlets
Programmable Portlets• Standard based JSR 286 Portlets uses WSRPand WSDL• PDK Java Portlets uses standard technologies• Ideal for Integration with other apps• Usually Deployed as WAR
JSF Portlets• Oracle JSF Portlet Bridge allows toconvert existing JSF applications intoPortlets• Same code for both portlets and app• Right click Task flow or Page andchoose “Create Portlet Entry”• File portlet.xml file contains allmetadata
Web Clipping• Web Clipping, you can clip an entireweb page, or a portion of it as portlet• No Coding experience required• Leverage single sign-on solution withsites requires authentication• Using Web Clipping Studio, theapplication developer can drill downthrough a visual rendering of the targetpage to choose the desired content.
Omni-Portlet• Data publishing portlet that you addto your application at design time• It is baed on many Data sourcesincluding SQL, XML, web services,spreadsheets, and web pages.• Supports different layouts like tablesand charts• Allows personalization at runtime.
Parameter Form and Parameter Display Portlets• Way to pass values between components• Provided by the WSRP Toolsproducer.• Used in contextual linking between portlets on a page• Allows personalization atruntime.
Steps to including a portlet on an applicationpage• Create the portlet.• Deploy the portlet to a portlet container (a producer).• Register the producer with the application that will consume the portlet.• Add the portlet to an application page.• Specify values for attributes of the portlet tag that binds the portlet to the application page
Portlet Producers Types Works as a communication link between Portal and PortletsWSRP Producer Uses WSDL, allows any standard web-based application to work as portlet.PDK-Java Producer Uses Industry standards like XML, SOAP, HTTP.Portal-Tools Producer Allows to create/consume portlets on Portal without known complexprogramming
Portlets ModesVIEW Display portal content with other item and portlets.EDIT Allow end and authorize user to personalize portlet e.g. Title, appearance, contentEDIT – Allow to change system-level personalization on the portletDEFAULTSHELP Allow to display information about functionality of the portletABOUT Display information like version, copyright, contact author
Deployment TypeBefore Portlet can be consumed by anapplication, you must deploy it, then register theproducer youve deployed the portlet to.• WSRP producers - WebCenter Portal supports Web Services forRemote Portlets (WSRP) versions 1.0 and 2.0• PDK-Java producers - use open standards, such as XML, SOAP, HTTP, orJava EE for deployment, definition, andcommunication with applications
Deployment• Test in Integrated Weblogic Server• Deploy to Weblogic server • Create WAR deployment description • Right click portlet and create WAR file OR • Deploy directly to Application server
Consuming Portlets In Webcenter Portal • Register a WSRP portlet producer: Create Connection in Resource Palette or Webcenter Portal application to register the portlet • Right-click Connections, choose New Connection and then choose WSRP Producer. • Set necessary Portlet tags and parameters • Use the Register WSRP Portlet Producer wizard , provide information and register .
Consuming Portlets In Webcenter Portal • From portlet producer drag and drop the Portlet from connection to JSF Page • Set necessary tag and properties of portal. • Enter portlet parameters and Save. • <adfp:portlet > tag generated when you drag drop the portlet. • Change the properties of portlet from property inspector
Inter Portlets Communication• Wiring Portlets at Design Time – Set parameter from portlet 1 – Edit binding of portlet 2 and pass that parameter – Set Partial triggers to PPR
Inter Portlets Communication• Contextual Wiring of Portlets using Events – Uses payLoad instead of parameter values – Set payLoad values at Event tab of portlet properties
Summary• ADF , Webcenter,Portal Overview• Type of Portlets.• How to create portlet producer• How to add portlet in application• Wiring between the portlets