Peter Moskovits Principal Product Manager Oracle Corporation Sue Vickers Group Manager Oracle Corporation
How To Best Leverage J2EE, Struts, and ADF in Your Portal
Oracle Application Server 10g Architecture Systems and Applications Mgmt. Integrated Development Tools and Framework Information Access Business Intelligence Business Integration Enterprise Application Server Security & Identity Mgmt. Grid Computing
Oracle Application Server 10g Architecture Systems and Applications Management Integrated Development Tools and Framework Integrated Integrated Development Environment Information Access Business Intelligence Data Data Mining Mining Business Integration Enterprise Enterprise Service Service Bus Bus Enterprise Application Server J2EE J2EE Portal Portal Query Query Analysis Analysis / / OLAP OLAP BPEL BPEL Web Web Services Services Application Development Framework ETL ETL B2B B2B Events Events Mobile Mobile & Wireless Wireless Reporting Reporting BAM BAM Rules Rules Security & Identity Management Grid Computing
Many Portlets Make a Portal Built-In Portlets Declarative Data Driven Portlets Partner Portlets Programmatic Portlets
The Portlet Development Spectrum Out-of-the-box Portlets (Search, Favorites...) OmniPortlet Oracle Business Intelligence Tools JSR-168/WSRP, PDK-Java, PDK- PLSQL Web Clipping Oracle ebusiness Suite/Integration Solutions/3 rd Party Partner Portlets Page Designer Declarative Development PortletBuilder Oracle JDeveloper wizard IT Developer Coded Development
The Portlet Development Spectrum Out-of-the-box Portlets (Search, Favorites...) OmniPortlet Oracle Business Intelligence Tools JSR-168/WSRP, PDK-Java, PDK- PLSQL Web Clipping Oracle ebusiness Suite/Integration Solutions/3 rd Party Partner Portlets Page Designer Declarative Development PortletBuilder Oracle JDeveloper wizard IT Developer Coded Development
Web Clipping Easily add and maintain Web content Easily add and maintain Web content E X T R A N E T E X T R A N E T I N T R A N E T I N T R A N E T I N T E R N E T I N T E R N E T
Web Clipping Use an easy, visual-based wizard to capture content and functionality and present it as portlets. Data and UI Browse to Source Web Page Section Page, Choose Clipping Portal Page with Web Clipping
Great! But I still need to:! Display content from many different data sources! Control the UI (simple layouts)! Build a simple component against my database quickly and easily All without writing code!
OmniPortlet! Presents data from different data sources (spreadsheet, Web service, XML, JCA/J2CA, database, Web page) as portlets on your page! Different render-styles available (news, tabular, bar chart, pie chart)
Declarative: Simple and Quick 1 2 3 Page Designer Select the Data Source Select the Layout Publish the Portlet Wizard-based development in the browser empowers the page designer
Independent Data and Layout
Filter and Sort Any Data! Define a filter to restrict the result of any type of data CSV XML Web service Web page SQL! Sort the result
Unique Value With OmniPortlet, page designers can:! Decide the best way to publish! Transform data into highly relevant information Filtered for specific needs Placed in appropriate context Connected with relevant additional information
D E M O N S T R A T I O N OmniPortlet
Programmatic Portlets When to use programmatic approach:! Very specialized business rules or logic! Custom-designed authentication requirements! Very granular processing of dynamic results! Flexibility and user interface control
The Portlet Development Spectrum Out-of-the-box Portlets (Search, Favorites...) OmniPortlet Oracle Business Intelligence Tools JSR-168/WSRP, PDK-Java, PDK- PLSQL Web Clipping Oracle ebusiness Suite/Integration Solutions/3 rd Party Partner Portlets Page Designer Declarative Development PortletBuilder Oracle JDeveloper wizard IT Developer Coded Development
The Portlet Development Spectrum Out-of-the-box Portlets (Search, Favorites...) OmniPortlet Oracle Business Intelligence Tools JSR-168/WSRP, PDK-Java, PDK- PLSQL Web Clipping Oracle ebusiness Suite/Integration Solutions/3 rd Party Partner Portlets Page Designer Declarative Development PortletBuilder Oracle JDeveloper wizard IT Developer Coded Development
What are the PDK APIs? Set of services that:! Simplify the development of Java portlets! Enable Java programmers to quickly expose Java-based applications as portlets! Abstract underlying communications mechanisms! Provide mechanisms for displaying multiple content types, end user customization, security, and session storage
Oracle Provider Components Portal SOAP Provider Adapter Provider Portlets web.xml *.properties provider.xml
Oracle JDeveloper Integration 1. Create Portlet & Provider 2. Add Portlet Logic 3. Test Portlet & Provider from within Oracle JDeveloper 4. Deploy to Application Server
Portletizing MVC-based Applications Business Business Logic Logic Controller Model Model View View Create a portal view
Portletizing Struts Applications Application Application is is visible visible as as a a portlet portlet User User actions actions are are captured captured by by the the portal portal
Portletizing Struts Applications Application Application is is visible visible as as a a portlet portlet User User actions actions are are captured captured by by the the portal portal The The logic logic is is the the same same The The view view is is different different
Portletizing MVC-based Applications Business Business Logic Logic Controller ActionServlet (Apache Struts Controller) User inputs + Page Flow + Handling Logic Value Object (Java Bean) Value Object (Java Bean) Model Model Persistence Layer EJB, TopLink, BC4J, JDO, Java View View JSP Create a portal view
Application Development Framework (ADF)! A productivity layer for J2EE developers! Ready-to-use J2EE design patters! Meta-data driven components! Based on industry standards! Tight integration with Oracle JDeveloper: drag and drop
Oracle ADF: End-to-end J2EE Framework! Implements standard J2EE best practices! Model-View-Controller (MVC) design pattern Rich Rich Clients Clients Web Web and and Wireless Wireless Clients Clients Controller Controller Model Model Business Business Services Services! Focus on the application, not the plumbing! Consolidation and evolution of previous frameworks
Portletizing ADF Applications Rich Clients Web and and Portlets Wireless Clients Controller Model Business Services
D E M O N S T R A T I O N Struts & ADF
Using Vendors APIs vs. Standards Using Vendors APIs Using Standards Oracle Portal YellowBrix (Oracle) News News Weather Weather Oracle Portal IBM IBM WebSphere Portal YellowBrix (IBM) News News Weather Weather IBM IBM WebSphere Portal YellowBrix News News Weather Weather BEA BEA WebLogic Portal YellowBrix (BEA) News News Weather Weather BEA BEA WebLogic Portal
Remote Portlet Architecture: JPDK SOAP Protocol SOAP Adapter Portlet Container Portlet Portlet HTTP Listener Portal Server WSRP SOAP Protocol WSRP SOAP Adapter Portlet Container Portlet Portlet
What Is The Relationship Between WSRP And JSR 168?! WSRP is a communication protocol between portal servers and portlet containers! JSR 168 is a Java API for portlets to work with Portals (javax.portlet package) HTTP Listener Portal Server WSRP Protocol WSRP Protocol WSRP Adapter WSRP Adapter JSR 168 Portlet Container Portlet JSR 168 Portlet Container Portlet Portlet Portlet
Supporting The Standards & Backward Compatibility HTTP Listener Portal Server SOAP Protocol WSRP Protocol WSRP Protocol SOAP Adapter WSRP Adapter WSRP Adapter Portlet Container Portlet Portlet Portlet Portlet.NET Portlet Container Portlet JSR 168 Portlet Container Portlet
Standard Portlets Components Portal WSRP WSRP Adapter Portlets web.xml portlet.xml
What Is Currently Available? Function Developer s s Preview Portal Hosted WSRP Portal Java Portlet Wizard Java Portlet Container (JSR 168) Yes Yes Yes Yes Next major Portal release: Production support for WSRP
D E M O N S T R A T I O N Oracle JDeveloper Wizard for JSR 168
Next Steps.! Relevant web sites to visit for more information http://portalcenter.oracle.com http://portalstandards.oracle.com
Day Title Sessions - PORTALS Time Room Monday 1431 1336 An Overview of Enterprise Portals: Today and Tomorrow How to Design and Build Compelling Portal Interfaces 1:30 PM 2009/2011 2:45 PM 2009/2011 Tuesday 1334 1338 How to Create Collaborative Communities Within Your Portal How to Best Leverage J2EE, Struts, and ADF in Your Portal 10:30 AM 2006 12:30 PM 2006 1066 Best Practices for Deploying OracleAS Portal 3:30 PM 2006 Wednesday 1335 1375 How to Integrate Enterprise Applications into Your Portal Creating a Company Portal Instantly with Oracle Application Server Standard Edition One 4:30 PM 2007 4:30 PM 2018 1092 Integrated Business Intelligence with Oracle Portal 8:30 AM 2010/2012 Thursday 1421 1333 1337 Personalized B2B E-Business E Portals: Integration within and beyond the Enterprise How to Effectively Measure and Monitor Activity in Your Portal Environment How to Effectively Size Hardware for Your Portal Implementation 8:30 AM 2008 1:00 PM 2008 4:00 PM 2008
Activities - PORTALS Hands On Labs DEMOgrounds Monday 11:00 AM 4:00 PM Monday 5:00 PM 7:00 PM Tuesday 9:30 AM 5:00 PM Tuesday 9:30 AM 5:00 PM Wednesday 11:00 AM 1:00 PM 2:30 PM 5:30 PM Wednesday 10:45 AM 1:30 PM 2:30 PM 5:30 PM Thursday 10:30 AM 5:00 PM Thursday 10:30 AM 2:30 PM South Hall Esplanade 305 South Hall Booth 930 Pods F25, F26, F28
Reminder: Please complete the Oracle World online session survey. Thank you.
Q U E S T I O N S A N S W E R S