View stunning SlideShares in full-screen with the new iOS app!Introducing SlideShare for AndroidExplore all your favorite topics in the SlideShare appGet the SlideShare app to Save for Later — even offline
View stunning SlideShares in full-screen with the new Android app!View stunning SlideShares in full-screen with the new iOS app!
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