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 port...
Today’s Overview         • Familiarize yourself with     1     ADF and Webcenter           Portal framework     2   • Lear...
Learning Objectives• ADF & Webcenter Overview• What is Portlet?• Portlets Producer Types and  Modes• ADF Task flows v/s Po...
Working Toward Mastery in          Webcenter Portal                                                  Achieve              ...
ADF & WebcenterWhat is ADF?   End to end framework builds on JEE standardplatform to develop Web 2.0 Applications.It based...
Things to do• Download and Install Oracle database i.e.Oracle XE• Download and Install Oracle Jdeveloperversion above 11.1...
What is Portlet? •   As per Wikipedia        "Portlets are pluggable user interface software components              that ...
Portlets
Portlet Types• JSF Portlets• Programmable Portlets   • Standard Java Portlet      (JSR 168)   • PDK-Java Portlet• Web clip...
Programmable Portlets• Standard based JSR 286 Portlets uses WSRPand WSDL• PDK Java Portlets uses standard technologies• Id...
JSF Portlets• Oracle JSF Portlet Bridge allows toconvert existing JSF applications intoPortlets• Same code for both portle...
Web Clipping• Web Clipping, you can clip an entireweb page, or a portion of it as portlet• No Coding experience required• ...
Omni-Portlet• Data publishing portlet that you addto your application at design time• It is baed on many Data sourcesinclu...
Parameter Form and                      Parameter Display Portlets• Way to pass values between   components• Provided by t...
Steps to including a portlet on an applicationpage•   Create the portlet.•   Deploy the portlet to a portlet container (a ...
Portlet Producers Types   Works as a communication link between Portal and PortletsWSRP Producer  Uses WSDL, allows any st...
Portlets ModesVIEW       Display portal content with other item and portlets.EDIT       Allow end and authorize user to pe...
Deployment TypeBefore Portlet can be consumed by anapplication, you must deploy it, then register theproducer youve deploy...
Deployment• Test in Integrated Weblogic Server• Deploy to Weblogic server   • Create WAR deployment description   • Right ...
Consuming Portlets                    In Webcenter Portal •   Register a WSRP portlet producer: Create Connection in     R...
Consuming Portlets                    In Webcenter Portal •   From portlet producer drag and drop the Portlet from     con...
Inter Portlets Communication•   Wiring Portlets at Design Time     – Set parameter from portlet 1     – Edit binding of po...
Inter Portlets Communication•   Contextual Wiring of Portlets using Events     – Uses payLoad instead of parameter       v...
Tips & Guidelines •   Use Standard HTML and CSS •   JSR 168 portlet should WSRP 1.0 or 2.0 enabled. •   WebCenter can only...
About meEmailmail2vinayku@gmail.comBLOGhttp://techartifact.comLinkedIn:de.linkedin.com/in/vinaykumar2/
Summary• ADF , Webcenter,Portal Overview• Type of Portlets.• How to create portlet producer• How to add portlet in applica...
QUESTIONS?
Upcoming SlideShare
Loading in …5
×

Webcenter Portlal training...

2,121 views

Published on

A presentation to learn Webcenter portal.How to produce,consume portal and wire between the portal

Published in: Technology
  • Be the first to comment

Webcenter Portlal training...

  1. 1. PORTAL IN ADF & WEBCENTER VINAY KUMAR 21/03/2013
  2. 2. New to ADF or Webcenter Portal?• Are you Familiar with Oracle ADF ?• Ever experience Webcenter Portal…• Experience in portlets
  3. 3. Today’s Overview • Familiarize yourself with 1 ADF and Webcenter Portal framework 2 • Learn how portlets work 3 • Portlet Communication
  4. 4. 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
  5. 5. Working Toward Mastery in Webcenter Portal Achieve MasteryProjects Worked On Get Experienced Get Familiar Time Spent
  6. 6. 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
  7. 7. Things to do• Download and Install Oracle database i.e.Oracle XE• Download and Install Oracle Jdeveloperversion above 11.1.1.6• Download and Install Oracle WebcenterExtensions for Jdeveloper
  8. 8. 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
  9. 9. Portlets
  10. 10. Portlet Types• JSF Portlets• Programmable Portlets • Standard Java Portlet (JSR 168) • PDK-Java Portlet• Web clipping• Omni Portlet• Parameter Form and Parameter Display Portlets
  11. 11. 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
  12. 12. 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
  13. 13. 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.
  14. 14. 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.
  15. 15. 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.
  16. 16. 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
  17. 17. 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
  18. 18. 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
  19. 19. 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
  20. 20. 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
  21. 21. 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 .
  22. 22. 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
  23. 23. 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
  24. 24. Inter Portlets Communication• Contextual Wiring of Portlets using Events – Uses payLoad instead of parameter values – Set payLoad values at Event tab of portlet properties
  25. 25. Tips & Guidelines • Use Standard HTML and CSS • JSR 168 portlet should WSRP 1.0 or 2.0 enabled. • WebCenter can only integrate WSRP enabled portlets • Portlet needs to have the valid web service endpoint to act as a WSRP endpoint. Never use JavaScript to do redirect inside Portlet. Open a new browser window instead • Pop-ups, Input date, Input color are not supported inside ADF based portlet • Use database persistence store in web.xml specially in cluster environment • Access using HTTP server instead of direct link to WLS
  26. 26. About meEmailmail2vinayku@gmail.comBLOGhttp://techartifact.comLinkedIn:de.linkedin.com/in/vinaykumar2/
  27. 27. Summary• ADF , Webcenter,Portal Overview• Type of Portlets.• How to create portlet producer• How to add portlet in application• Wiring between the portlets
  28. 28. QUESTIONS?

×