SlideShare ist ein Scribd-Unternehmen logo
1 von 25
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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 

Kürzlich hochgeladen (20)

SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 

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