SlideShare a Scribd company logo
1 of 25
Download to read offline
Working with Portlets
in Oracle ADF & Webcenter
     Presenter: Zeeshan Baig
      www.baigzeeshan.com
    www.youtube.com/baigsorcl

              Session # 288     1
A little about me….
• Currently working as Senior Architect Developer at Northwestern
  Memorial Hospital in Chicago.
• 12+ years of experience in Oracle Development tools (Database,
  Forms, APEX, ADF, Fusion)
• Oracle ACE, OCP DBA certified in 8, 8i and 10g
• Technical blog on ADF and other fusion technologies at
  www.baigzeeshan.com
• YouTube channel http://youtube.com/baigsorcl
Disclaimer: The views expressed are my own and does not affiliates with my employer
             Images used in this presentation courtesy of Google images and Oracle Documentation



                                                               Session # 288                       2
Agenda
•   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
•   Demo
•   Q&A
                                Session # 288           3
Survey


• How many people are familiar with Java?

• How many people are working with
 Oracle ADF OR WebCenter?

• How many people have worked with Portlets?



                              Session # 288    4
ADF & Webcenter
What is ADF?
   End to end framework builds on JEE standard
platform to develop Web 2.0 Applications

What is Webcenter?
  Extensional framework builds on top of ADF to
develop Enterprise 2.0 portals with features like
Portlets, RSS, Discussion forums and Content
management

What is Jdeveloper?
  A free integrated tool to build Java-SOA based
applications
                                           Session # 288   5
Things to do

• Download and Install Oracle
database i.e. Oracle XE

• Download and Install Oracle
Jdeveloper version 11.1.1.5 (PS4)

• Download and Install Oracle
Webcenter Extensions for Jdeveloper



                                      Session # 288   6
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

                                Session # 288                       7
Portlets




 Session # 288   8
Portlet Producers Types
      Works as a communication link between Portal and Portlets

WSRP 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 complex programming

                                     Session # 288                           9
Portlets Modes
VIEW       Defines how portlet will be visible on page. All portlets
           must have View mode.
EDIT       Allow authorized user to personalize portlet e.g. Title,
           appearance, content
EDIT –     Allow to change system-level personalization on the
DEFAULTS   portlet
HELP       Allow to display information about functionality of the
           portlet
ABOUT      Display information like version, copyright, contact
           author
                           Session # 288                           10
Task Flows v/s Portlets
       Local Task Flow               Remote Task Flow               ADF Based Portlet
Use same Skin as consumer       Use its own skin. opens in    Renders in iFrames uses its
portal                          pop or different window       own skin
Support Transactions            No Support for Transactions   No Support for Transactions
Interaction between task        Input output parameters       inter-portlet communication
flows via Contextual events,
Input output parameters
Deployed with consumer app      Deployed separately           Deployed separately
Full ADF / Webcenter security   Requires Single Sign-on       WS-Security with OWSM is
                                                              used for authentication

                                         Session # 288                                11
Portlet Types

• JSF Portlets
• Programmable Portlets
  •   Standard Java Portlet
  •   PDK-Java Portlet

• Web clipping
• Omni Portlet



                                  Session # 288   12
JSF Portlets

• Oracle JSF Portlet Bridge allows to convert
existing JSF applications into Portlets

• Same code for both portlets and app

• Right click Task flow or Page and choose
“Create Portlet Entry”

• File portlet.xml file contains all metadata


                                         Session # 288   13
Programmable Portlets

• Standard based JSR 286 Portlets uses
WSRP and WSDL

• PDK Java Portlets uses standard
technologies

• Ideal for Integration with other apps

• Usually Deployed as WAR

                                          Session # 288   14
Web Clipping
• Clips a complete or section of web
page as a portlet

• No Coding experience required

• Leverage single sign-on solution with
sites requires authentication

• Some limitations exists


                                       Session # 288   15
Omni-Portlet
• Allow to add portlet to your application at
design time, and customize at runtime.

• Supports many Data sources
including SQL, XML, web services,
spreadsheets, and web pages.

• Supports different layouts like tables
and charts

• Allows personalization
                                           Session # 288   16
Testing & 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




                                         Session # 288   17
Consuming Portlets
          In Webcenter Portal

• Get portlet WSDL or Provider URL end-
  point
• Create Connection in Resource Palette or
  Webcenter Portal application to register
  the portlet
• Drag and Drop the Portlet from connection
  to JSF Page
• Set necessary Portlet tags and parameters

                                    Session # 288   18
Consuming Portlets
        In Webcenter Spaces

• Get portlet WSDL or Provider URL end-
  point
• Open Enterprise Manager Fusion
  middleware Control
• Register Portlet with Webcenter Spaces
• Edit Webcenter spaces JSF page in
  Composer mode
• Add Portlet from Resource catalog
• Enter portlet parameters and Save
                                    Session # 288   19
Portlets Communication
• Wiring Portlets at Design Time
   – Edit Page Binding for Portlet 2
   – Set source of parameter as source of Portlet 1
   – Set Partial triggers
• Wiring Portlets at Runtime
   –   Log in as Administrator on Portal
   –   Edit the page and go to Portlet properties
   –   Use EL Expression to set the parameter values
   –   Set partial triggers to portlet Id
• Contextual Wiring of Portlets using Events
   – Uses payLoad instead of parameter values
   – Set payLoad values at Event tab of portlet properties
                                           Session # 288     20
Tips & Guidelines
• Use Standard HTML and CSS
• Keep content concise
• Test in different browsers with window resizing behavior
• 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


                                       Session # 288               21
DEMO




Session # 288   22
Thank you

Congratulations!! You are now Portlet Certified…




                      Session # 288                23
Session # 288   24
My Contact
BLOG
http://baigzeeshan.com

YouTube Channel
http://youtube.com/baigsorcl

LinkedIn:
http://www.linkedin.com/in/baigzeeshan

Email
zeeshan.baig82@gmail.com
                                     Session # 288   25

More Related Content

What's hot

ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...
ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...
ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...European Collaboration Summit
 
Part I: SharePoint 2013 Administration by Todd Klindt and Shane Young - SPTec...
Part I: SharePoint 2013 Administration by Todd Klindt and Shane Young - SPTec...Part I: SharePoint 2013 Administration by Todd Klindt and Shane Young - SPTec...
Part I: SharePoint 2013 Administration by Todd Klindt and Shane Young - SPTec...SPTechCon
 
Integrating Alfresco @ Scale (via event-driven micro-services)
Integrating Alfresco @ Scale (via event-driven micro-services)Integrating Alfresco @ Scale (via event-driven micro-services)
Integrating Alfresco @ Scale (via event-driven micro-services)J V
 
Oracle soa suite 11g introduction slide share
Oracle soa suite 11g introduction slide shareOracle soa suite 11g introduction slide share
Oracle soa suite 11g introduction slide shareSrinivasarao Mataboyina
 
Scaling SharePoint 2016 Farms with MinRole & Other Tools
Scaling SharePoint 2016 Farms with MinRole & Other ToolsScaling SharePoint 2016 Farms with MinRole & Other Tools
Scaling SharePoint 2016 Farms with MinRole & Other ToolsSPC Adriatics
 
Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16
Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16
Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16Alfredo Abate
 
Sitecore9 key features by jitendra soni - Presented in Sitecore User Group UK
Sitecore9 key features by jitendra soni - Presented in Sitecore User Group UKSitecore9 key features by jitendra soni - Presented in Sitecore User Group UK
Sitecore9 key features by jitendra soni - Presented in Sitecore User Group UKJitendra Soni
 
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...European Collaboration Summit
 
A Succesful WebCenter Upgrade: What You Need to Know
A Succesful WebCenter Upgrade: What You Need to KnowA Succesful WebCenter Upgrade: What You Need to Know
A Succesful WebCenter Upgrade: What You Need to KnowFishbowl Solutions
 
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - RoadmapECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - RoadmapEuropean Collaboration Summit
 
Alfresco Coding mit dem Alfresco SDK (auf Englisch) - Julien Bruinaud, Techni...
Alfresco Coding mit dem Alfresco SDK (auf Englisch) - Julien Bruinaud, Techni...Alfresco Coding mit dem Alfresco SDK (auf Englisch) - Julien Bruinaud, Techni...
Alfresco Coding mit dem Alfresco SDK (auf Englisch) - Julien Bruinaud, Techni...Nicole Szigeti
 
WebCenter Content 11g Upgrade Webinar - March 2013
WebCenter Content 11g Upgrade Webinar - March 2013WebCenter Content 11g Upgrade Webinar - March 2013
WebCenter Content 11g Upgrade Webinar - March 2013Fishbowl Solutions
 
Rev Your Engines - SharePoint Performance Best Practices
Rev Your Engines - SharePoint Performance Best PracticesRev Your Engines - SharePoint Performance Best Practices
Rev Your Engines - SharePoint Performance Best PracticesEric Shupps
 
Building better SQL Server Databases
Building better SQL Server DatabasesBuilding better SQL Server Databases
Building better SQL Server DatabasesColdFusionConference
 
Web app job and functions - TUGAIT 2017
Web app job and functions  - TUGAIT 2017Web app job and functions  - TUGAIT 2017
Web app job and functions - TUGAIT 2017Steef-Jan Wiggers
 
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...BizTalk360
 
How the Cloud Changes Business Solution Design and Delivery
How the Cloud Changes Business Solution Design and DeliveryHow the Cloud Changes Business Solution Design and Delivery
How the Cloud Changes Business Solution Design and DeliverySPC Adriatics
 

What's hot (20)

ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...
ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...
ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...
 
Part I: SharePoint 2013 Administration by Todd Klindt and Shane Young - SPTec...
Part I: SharePoint 2013 Administration by Todd Klindt and Shane Young - SPTec...Part I: SharePoint 2013 Administration by Todd Klindt and Shane Young - SPTec...
Part I: SharePoint 2013 Administration by Todd Klindt and Shane Young - SPTec...
 
AMIS Oracle OpenWorld 2013 Review Part 4- SAAS Miscellaneous and Summary
AMIS Oracle OpenWorld 2013 Review Part 4- SAAS Miscellaneous and SummaryAMIS Oracle OpenWorld 2013 Review Part 4- SAAS Miscellaneous and Summary
AMIS Oracle OpenWorld 2013 Review Part 4- SAAS Miscellaneous and Summary
 
Integrating Alfresco @ Scale (via event-driven micro-services)
Integrating Alfresco @ Scale (via event-driven micro-services)Integrating Alfresco @ Scale (via event-driven micro-services)
Integrating Alfresco @ Scale (via event-driven micro-services)
 
AMIS Oracle OpenWorld 2013 Review Part 2 - Platform Middleware Publication
AMIS Oracle OpenWorld 2013 Review Part 2 - Platform Middleware PublicationAMIS Oracle OpenWorld 2013 Review Part 2 - Platform Middleware Publication
AMIS Oracle OpenWorld 2013 Review Part 2 - Platform Middleware Publication
 
Oracle soa suite 11g introduction slide share
Oracle soa suite 11g introduction slide shareOracle soa suite 11g introduction slide share
Oracle soa suite 11g introduction slide share
 
Scaling SharePoint 2016 Farms with MinRole & Other Tools
Scaling SharePoint 2016 Farms with MinRole & Other ToolsScaling SharePoint 2016 Farms with MinRole & Other Tools
Scaling SharePoint 2016 Farms with MinRole & Other Tools
 
Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16
Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16
Extending_EBS_12_1_3_with_APEX_5_0_COLLABORATE16
 
Sitecore9 key features by jitendra soni - Presented in Sitecore User Group UK
Sitecore9 key features by jitendra soni - Presented in Sitecore User Group UKSitecore9 key features by jitendra soni - Presented in Sitecore User Group UK
Sitecore9 key features by jitendra soni - Presented in Sitecore User Group UK
 
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
 
ECS19 - Katja Jokisalo - Modernize your Intranet
ECS19 - Katja Jokisalo - Modernize your IntranetECS19 - Katja Jokisalo - Modernize your Intranet
ECS19 - Katja Jokisalo - Modernize your Intranet
 
A Succesful WebCenter Upgrade: What You Need to Know
A Succesful WebCenter Upgrade: What You Need to KnowA Succesful WebCenter Upgrade: What You Need to Know
A Succesful WebCenter Upgrade: What You Need to Know
 
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - RoadmapECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
 
Alfresco Coding mit dem Alfresco SDK (auf Englisch) - Julien Bruinaud, Techni...
Alfresco Coding mit dem Alfresco SDK (auf Englisch) - Julien Bruinaud, Techni...Alfresco Coding mit dem Alfresco SDK (auf Englisch) - Julien Bruinaud, Techni...
Alfresco Coding mit dem Alfresco SDK (auf Englisch) - Julien Bruinaud, Techni...
 
WebCenter Content 11g Upgrade Webinar - March 2013
WebCenter Content 11g Upgrade Webinar - March 2013WebCenter Content 11g Upgrade Webinar - March 2013
WebCenter Content 11g Upgrade Webinar - March 2013
 
Rev Your Engines - SharePoint Performance Best Practices
Rev Your Engines - SharePoint Performance Best PracticesRev Your Engines - SharePoint Performance Best Practices
Rev Your Engines - SharePoint Performance Best Practices
 
Building better SQL Server Databases
Building better SQL Server DatabasesBuilding better SQL Server Databases
Building better SQL Server Databases
 
Web app job and functions - TUGAIT 2017
Web app job and functions  - TUGAIT 2017Web app job and functions  - TUGAIT 2017
Web app job and functions - TUGAIT 2017
 
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
Windows Azure Workflows Manager - Running Durable Workflows in the Cloud and ...
 
How the Cloud Changes Business Solution Design and Delivery
How the Cloud Changes Business Solution Design and DeliveryHow the Cloud Changes Business Solution Design and Delivery
How the Cloud Changes Business Solution Design and Delivery
 

Similar to Working with Portlets in ADF and Webcenter

Webcenter Portlal training...
Webcenter Portlal training...Webcenter Portlal training...
Webcenter Portlal training...Vinay Kumar
 
Portets to composite applications
Portets to composite applicationsPortets to composite applications
Portets to composite applicationsSerge Huber
 
Implementing portlets using Web Scripts
Implementing portlets using Web ScriptsImplementing portlets using Web Scripts
Implementing portlets using Web ScriptsPiergiorgio Lucidi
 
WebSphere Portal Technical Overview
WebSphere Portal Technical OverviewWebSphere Portal Technical Overview
WebSphere Portal Technical OverviewVincent Perrin
 
Dart Past Your Competition by Getting Your Digital Experience into Market Fas...
Dart Past Your Competition by Getting Your Digital Experience into Market Fas...Dart Past Your Competition by Getting Your Digital Experience into Market Fas...
Dart Past Your Competition by Getting Your Digital Experience into Market Fas...Perficient, Inc.
 
Deep dive into share point framework webparts
Deep dive into share point framework webpartsDeep dive into share point framework webparts
Deep dive into share point framework webpartsPrabhu Nehru
 
Integrating Alfresco with Portals
Integrating Alfresco with PortalsIntegrating Alfresco with Portals
Integrating Alfresco with PortalsPiergiorgio Lucidi
 
Weblogic 12c experiences - migrations from iAS-platform
Weblogic 12c experiences - migrations from iAS-platformWeblogic 12c experiences - migrations from iAS-platform
Weblogic 12c experiences - migrations from iAS-platformJon Petter Hjulstad
 
WebSockets in Enterprise Applications
WebSockets in Enterprise ApplicationsWebSockets in Enterprise Applications
WebSockets in Enterprise ApplicationsPavel Bucek
 
Shindig Apachecon Asia 09
Shindig Apachecon Asia 09Shindig Apachecon Asia 09
Shindig Apachecon Asia 09Nuwan Bandara
 
WebCenter as a Cloud App on Exalogic
WebCenter as a Cloud App on ExalogicWebCenter as a Cloud App on Exalogic
WebCenter as a Cloud App on ExalogicRaoul Miller
 
Ajax In Enterprise Portals
Ajax In Enterprise PortalsAjax In Enterprise Portals
Ajax In Enterprise PortalsWesley Hales
 
GateIn - The Solution for Managing and Building Enterprise Web Apps
GateIn - The Solution for Managing and Building Enterprise Web AppsGateIn - The Solution for Managing and Building Enterprise Web Apps
GateIn - The Solution for Managing and Building Enterprise Web AppsWesley Hales
 
NLOUG 2017- Oracle WebCenter Portal 12c Performance
NLOUG 2017- Oracle WebCenter Portal 12c PerformanceNLOUG 2017- Oracle WebCenter Portal 12c Performance
NLOUG 2017- Oracle WebCenter Portal 12c PerformanceDaniel Merchán García
 
Developing JavaScript Widgets
Developing JavaScript WidgetsDeveloping JavaScript Widgets
Developing JavaScript WidgetsBob German
 

Similar to Working with Portlets in ADF and Webcenter (20)

Webcenter Portlal training...
Webcenter Portlal training...Webcenter Portlal training...
Webcenter Portlal training...
 
Portets to composite applications
Portets to composite applicationsPortets to composite applications
Portets to composite applications
 
Implementing portlets using Web Scripts
Implementing portlets using Web ScriptsImplementing portlets using Web Scripts
Implementing portlets using Web Scripts
 
WebSphere Portal Technical Overview
WebSphere Portal Technical OverviewWebSphere Portal Technical Overview
WebSphere Portal Technical Overview
 
Dart Past Your Competition by Getting Your Digital Experience into Market Fas...
Dart Past Your Competition by Getting Your Digital Experience into Market Fas...Dart Past Your Competition by Getting Your Digital Experience into Market Fas...
Dart Past Your Competition by Getting Your Digital Experience into Market Fas...
 
Deep dive into share point framework webparts
Deep dive into share point framework webpartsDeep dive into share point framework webparts
Deep dive into share point framework webparts
 
Integrating Alfresco with Portals
Integrating Alfresco with PortalsIntegrating Alfresco with Portals
Integrating Alfresco with Portals
 
Weblogic 12c experiences - migrations from iAS-platform
Weblogic 12c experiences - migrations from iAS-platformWeblogic 12c experiences - migrations from iAS-platform
Weblogic 12c experiences - migrations from iAS-platform
 
WebSockets in Enterprise Applications
WebSockets in Enterprise ApplicationsWebSockets in Enterprise Applications
WebSockets in Enterprise Applications
 
Shindig Apachecon Asia 09
Shindig Apachecon Asia 09Shindig Apachecon Asia 09
Shindig Apachecon Asia 09
 
4. J2EE.pptx
4. J2EE.pptx4. J2EE.pptx
4. J2EE.pptx
 
WebCenter as a Cloud App on Exalogic
WebCenter as a Cloud App on ExalogicWebCenter as a Cloud App on Exalogic
WebCenter as a Cloud App on Exalogic
 
Ajax In Enterprise Portals
Ajax In Enterprise PortalsAjax In Enterprise Portals
Ajax In Enterprise Portals
 
ow.ppt
ow.pptow.ppt
ow.ppt
 
ow.ppt
ow.pptow.ppt
ow.ppt
 
Ow
OwOw
Ow
 
GateIn - The Solution for Managing and Building Enterprise Web Apps
GateIn - The Solution for Managing and Building Enterprise Web AppsGateIn - The Solution for Managing and Building Enterprise Web Apps
GateIn - The Solution for Managing and Building Enterprise Web Apps
 
Plantilla oracle
Plantilla oraclePlantilla oracle
Plantilla oracle
 
NLOUG 2017- Oracle WebCenter Portal 12c Performance
NLOUG 2017- Oracle WebCenter Portal 12c PerformanceNLOUG 2017- Oracle WebCenter Portal 12c Performance
NLOUG 2017- Oracle WebCenter Portal 12c Performance
 
Developing JavaScript Widgets
Developing JavaScript WidgetsDeveloping JavaScript Widgets
Developing JavaScript Widgets
 

More from DataNext Solutions

Getting Started with Web Services
Getting Started with Web ServicesGetting Started with Web Services
Getting Started with Web ServicesDataNext Solutions
 
Build your Business Services using ADF Task Flows
Build your Business Services using ADF Task FlowsBuild your Business Services using ADF Task Flows
Build your Business Services using ADF Task FlowsDataNext Solutions
 
Getting Started with Oracle APEX
Getting Started with Oracle APEXGetting Started with Oracle APEX
Getting Started with Oracle APEXDataNext Solutions
 
The Challenges Oracle Forms Migration to ADF
The Challenges Oracle Forms Migration to ADFThe Challenges Oracle Forms Migration to ADF
The Challenges Oracle Forms Migration to ADFDataNext Solutions
 
A guide to ADF fusion development
A guide to ADF fusion developmentA guide to ADF fusion development
A guide to ADF fusion developmentDataNext Solutions
 
Oracle ADF Task Flows for Beginners
Oracle ADF Task Flows for BeginnersOracle ADF Task Flows for Beginners
Oracle ADF Task Flows for BeginnersDataNext Solutions
 

More from DataNext Solutions (7)

Cloud Computing Basics
Cloud Computing BasicsCloud Computing Basics
Cloud Computing Basics
 
Getting Started with Web Services
Getting Started with Web ServicesGetting Started with Web Services
Getting Started with Web Services
 
Build your Business Services using ADF Task Flows
Build your Business Services using ADF Task FlowsBuild your Business Services using ADF Task Flows
Build your Business Services using ADF Task Flows
 
Getting Started with Oracle APEX
Getting Started with Oracle APEXGetting Started with Oracle APEX
Getting Started with Oracle APEX
 
The Challenges Oracle Forms Migration to ADF
The Challenges Oracle Forms Migration to ADFThe Challenges Oracle Forms Migration to ADF
The Challenges Oracle Forms Migration to ADF
 
A guide to ADF fusion development
A guide to ADF fusion developmentA guide to ADF fusion development
A guide to ADF fusion development
 
Oracle ADF Task Flows for Beginners
Oracle ADF Task Flows for BeginnersOracle ADF Task Flows for Beginners
Oracle ADF Task Flows for Beginners
 

Recently uploaded

Introduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its applicationIntroduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its applicationKnoldus Inc.
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfCheryl Hung
 
UiPath Studio Web workshop series - Day 1
UiPath Studio Web workshop series  - Day 1UiPath Studio Web workshop series  - Day 1
UiPath Studio Web workshop series - Day 1DianaGray10
 
Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...DianaGray10
 
Extra-120324-Visite-Entreprise-icare.pdf
Extra-120324-Visite-Entreprise-icare.pdfExtra-120324-Visite-Entreprise-icare.pdf
Extra-120324-Visite-Entreprise-icare.pdfInfopole1
 
CyberSecurity - Computers In Libraries 2024
CyberSecurity - Computers In Libraries 2024CyberSecurity - Computers In Libraries 2024
CyberSecurity - Computers In Libraries 2024Brian Pichman
 
3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud DataEric D. Schabell
 
Novo Nordisk's journey in developing an open-source application on Neo4j
Novo Nordisk's journey in developing an open-source application on Neo4jNovo Nordisk's journey in developing an open-source application on Neo4j
Novo Nordisk's journey in developing an open-source application on Neo4jNeo4j
 
Automation Ops Series: Session 2 - Governance for UiPath projects
Automation Ops Series: Session 2 - Governance for UiPath projectsAutomation Ops Series: Session 2 - Governance for UiPath projects
Automation Ops Series: Session 2 - Governance for UiPath projectsDianaGray10
 
LF Energy Webinar - Unveiling OpenEEMeter 4.0
LF Energy Webinar - Unveiling OpenEEMeter 4.0LF Energy Webinar - Unveiling OpenEEMeter 4.0
LF Energy Webinar - Unveiling OpenEEMeter 4.0DanBrown980551
 
How to release an Open Source Dataweave Library
How to release an Open Source Dataweave LibraryHow to release an Open Source Dataweave Library
How to release an Open Source Dataweave Libraryshyamraj55
 
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - TechWebinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - TechProduct School
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightSafe Software
 
2024.03.12 Cost drivers of cultivated meat production.pdf
2024.03.12 Cost drivers of cultivated meat production.pdf2024.03.12 Cost drivers of cultivated meat production.pdf
2024.03.12 Cost drivers of cultivated meat production.pdfThe Good Food Institute
 
Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024
Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024
Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024Alkin Tezuysal
 
Introduction - IPLOOK NETWORKS CO., LTD.
Introduction - IPLOOK NETWORKS CO., LTD.Introduction - IPLOOK NETWORKS CO., LTD.
Introduction - IPLOOK NETWORKS CO., LTD.IPLOOK Networks
 
TrustArc Webinar - How to Live in a Post Third-Party Cookie World
TrustArc Webinar - How to Live in a Post Third-Party Cookie WorldTrustArc Webinar - How to Live in a Post Third-Party Cookie World
TrustArc Webinar - How to Live in a Post Third-Party Cookie WorldTrustArc
 
EMEA What is ThousandEyes? Webinar
EMEA What is ThousandEyes? WebinarEMEA What is ThousandEyes? Webinar
EMEA What is ThousandEyes? WebinarThousandEyes
 
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptx
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptxEmil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptx
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptxNeo4j
 
GraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptx
GraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptxGraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptx
GraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptxNeo4j
 

Recently uploaded (20)

Introduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its applicationIntroduction to RAG (Retrieval Augmented Generation) and its application
Introduction to RAG (Retrieval Augmented Generation) and its application
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
UiPath Studio Web workshop series - Day 1
UiPath Studio Web workshop series  - Day 1UiPath Studio Web workshop series  - Day 1
UiPath Studio Web workshop series - Day 1
 
Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...Explore the UiPath Community and ways you can benefit on your journey to auto...
Explore the UiPath Community and ways you can benefit on your journey to auto...
 
Extra-120324-Visite-Entreprise-icare.pdf
Extra-120324-Visite-Entreprise-icare.pdfExtra-120324-Visite-Entreprise-icare.pdf
Extra-120324-Visite-Entreprise-icare.pdf
 
CyberSecurity - Computers In Libraries 2024
CyberSecurity - Computers In Libraries 2024CyberSecurity - Computers In Libraries 2024
CyberSecurity - Computers In Libraries 2024
 
3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data3 Pitfalls Everyone Should Avoid with Cloud Data
3 Pitfalls Everyone Should Avoid with Cloud Data
 
Novo Nordisk's journey in developing an open-source application on Neo4j
Novo Nordisk's journey in developing an open-source application on Neo4jNovo Nordisk's journey in developing an open-source application on Neo4j
Novo Nordisk's journey in developing an open-source application on Neo4j
 
Automation Ops Series: Session 2 - Governance for UiPath projects
Automation Ops Series: Session 2 - Governance for UiPath projectsAutomation Ops Series: Session 2 - Governance for UiPath projects
Automation Ops Series: Session 2 - Governance for UiPath projects
 
LF Energy Webinar - Unveiling OpenEEMeter 4.0
LF Energy Webinar - Unveiling OpenEEMeter 4.0LF Energy Webinar - Unveiling OpenEEMeter 4.0
LF Energy Webinar - Unveiling OpenEEMeter 4.0
 
How to release an Open Source Dataweave Library
How to release an Open Source Dataweave LibraryHow to release an Open Source Dataweave Library
How to release an Open Source Dataweave Library
 
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - TechWebinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
 
The Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and InsightThe Zero-ETL Approach: Enhancing Data Agility and Insight
The Zero-ETL Approach: Enhancing Data Agility and Insight
 
2024.03.12 Cost drivers of cultivated meat production.pdf
2024.03.12 Cost drivers of cultivated meat production.pdf2024.03.12 Cost drivers of cultivated meat production.pdf
2024.03.12 Cost drivers of cultivated meat production.pdf
 
Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024
Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024
Design and Modeling for MySQL SCALE 21X Pasadena, CA Mar 2024
 
Introduction - IPLOOK NETWORKS CO., LTD.
Introduction - IPLOOK NETWORKS CO., LTD.Introduction - IPLOOK NETWORKS CO., LTD.
Introduction - IPLOOK NETWORKS CO., LTD.
 
TrustArc Webinar - How to Live in a Post Third-Party Cookie World
TrustArc Webinar - How to Live in a Post Third-Party Cookie WorldTrustArc Webinar - How to Live in a Post Third-Party Cookie World
TrustArc Webinar - How to Live in a Post Third-Party Cookie World
 
EMEA What is ThousandEyes? Webinar
EMEA What is ThousandEyes? WebinarEMEA What is ThousandEyes? Webinar
EMEA What is ThousandEyes? Webinar
 
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptx
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptxEmil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptx
Emil Eifrem at GraphSummit Copenhagen 2024 - The Art of the Possible.pptx
 
GraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptx
GraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptxGraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptx
GraphSummit Copenhagen 2024 - Neo4j Vision and Roadmap.pptx
 

Working with Portlets in ADF and Webcenter

  • 1. Working with Portlets in Oracle ADF & Webcenter Presenter: Zeeshan Baig www.baigzeeshan.com www.youtube.com/baigsorcl Session # 288 1
  • 2. A little about me…. • Currently working as Senior Architect Developer at Northwestern Memorial Hospital in Chicago. • 12+ years of experience in Oracle Development tools (Database, Forms, APEX, ADF, Fusion) • Oracle ACE, OCP DBA certified in 8, 8i and 10g • Technical blog on ADF and other fusion technologies at www.baigzeeshan.com • YouTube channel http://youtube.com/baigsorcl Disclaimer: The views expressed are my own and does not affiliates with my employer Images used in this presentation courtesy of Google images and Oracle Documentation Session # 288 2
  • 3. Agenda • 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 • Demo • Q&A Session # 288 3
  • 4. Survey • How many people are familiar with Java? • How many people are working with Oracle ADF OR WebCenter? • How many people have worked with Portlets? Session # 288 4
  • 5. ADF & Webcenter What is ADF? End to end framework builds on JEE standard platform to develop Web 2.0 Applications What is Webcenter? Extensional framework builds on top of ADF to develop Enterprise 2.0 portals with features like Portlets, RSS, Discussion forums and Content management What is Jdeveloper? A free integrated tool to build Java-SOA based applications Session # 288 5
  • 6. Things to do • Download and Install Oracle database i.e. Oracle XE • Download and Install Oracle Jdeveloper version 11.1.1.5 (PS4) • Download and Install Oracle Webcenter Extensions for Jdeveloper Session # 288 6
  • 7. 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 Session # 288 7
  • 9. Portlet Producers Types Works as a communication link between Portal and Portlets WSRP 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 complex programming Session # 288 9
  • 10. Portlets Modes VIEW Defines how portlet will be visible on page. All portlets must have View mode. EDIT Allow authorized user to personalize portlet e.g. Title, appearance, content EDIT – Allow to change system-level personalization on the DEFAULTS portlet HELP Allow to display information about functionality of the portlet ABOUT Display information like version, copyright, contact author Session # 288 10
  • 11. Task Flows v/s Portlets Local Task Flow Remote Task Flow ADF Based Portlet Use same Skin as consumer Use its own skin. opens in Renders in iFrames uses its portal pop or different window own skin Support Transactions No Support for Transactions No Support for Transactions Interaction between task Input output parameters inter-portlet communication flows via Contextual events, Input output parameters Deployed with consumer app Deployed separately Deployed separately Full ADF / Webcenter security Requires Single Sign-on WS-Security with OWSM is used for authentication Session # 288 11
  • 12. Portlet Types • JSF Portlets • Programmable Portlets • Standard Java Portlet • PDK-Java Portlet • Web clipping • Omni Portlet Session # 288 12
  • 13. JSF Portlets • Oracle JSF Portlet Bridge allows to convert existing JSF applications into Portlets • Same code for both portlets and app • Right click Task flow or Page and choose “Create Portlet Entry” • File portlet.xml file contains all metadata Session # 288 13
  • 14. Programmable Portlets • Standard based JSR 286 Portlets uses WSRP and WSDL • PDK Java Portlets uses standard technologies • Ideal for Integration with other apps • Usually Deployed as WAR Session # 288 14
  • 15. Web Clipping • Clips a complete or section of web page as a portlet • No Coding experience required • Leverage single sign-on solution with sites requires authentication • Some limitations exists Session # 288 15
  • 16. Omni-Portlet • Allow to add portlet to your application at design time, and customize at runtime. • Supports many Data sources including SQL, XML, web services, spreadsheets, and web pages. • Supports different layouts like tables and charts • Allows personalization Session # 288 16
  • 17. Testing & 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 Session # 288 17
  • 18. Consuming Portlets In Webcenter Portal • Get portlet WSDL or Provider URL end- point • Create Connection in Resource Palette or Webcenter Portal application to register the portlet • Drag and Drop the Portlet from connection to JSF Page • Set necessary Portlet tags and parameters Session # 288 18
  • 19. Consuming Portlets In Webcenter Spaces • Get portlet WSDL or Provider URL end- point • Open Enterprise Manager Fusion middleware Control • Register Portlet with Webcenter Spaces • Edit Webcenter spaces JSF page in Composer mode • Add Portlet from Resource catalog • Enter portlet parameters and Save Session # 288 19
  • 20. Portlets Communication • Wiring Portlets at Design Time – Edit Page Binding for Portlet 2 – Set source of parameter as source of Portlet 1 – Set Partial triggers • Wiring Portlets at Runtime – Log in as Administrator on Portal – Edit the page and go to Portlet properties – Use EL Expression to set the parameter values – Set partial triggers to portlet Id • Contextual Wiring of Portlets using Events – Uses payLoad instead of parameter values – Set payLoad values at Event tab of portlet properties Session # 288 20
  • 21. Tips & Guidelines • Use Standard HTML and CSS • Keep content concise • Test in different browsers with window resizing behavior • 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 Session # 288 21
  • 23. Thank you Congratulations!! You are now Portlet Certified… Session # 288 23