Transcript Jerry Held

Sue Vickers
Tugdual Grall
Product Manager
OracleAS Portal
Oracle Corporation
Product Manager
OracleAS Portal
Oracle Corporation
Oracle Application Server Portal
Develop Your Portlets
Application
Server
10
G
Management &
Security
e-Business
Integration
Portals
J2EE &
Internet Apps
Wireless
Business
Intelligence
Caching
Many Portlets Makes 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, PDKPLSQL
Web
Clipping
Oracle eBusiness
Suite/Integration
Solutions/3rd 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, PDKPLSQL
Web
Clipping
Oracle eBusiness
Suite/Integration
Solutions/3rd Party Partner
Portlets
Page Designer
Declarative Development
PortletBuilder
Oracle JDeveloper
wizard
IT Developer
Coded Development
Web Clipping
Easily add and maintain Web content
Extranet
Intranet
Internet
Web Clipping
Wizard-driven, visual capture of content and functionality
from existing Web sites for presentation in 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!
The OmniPortlet
 Presents data from
WebData
Clipping
different
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
Page
Designer
2
Select the
Data Source
3
Select the
Layout
Wizard-Based Build
Empowers the
Page Designer
Publish the
Portlet
Independent Data and Layout
Filter and Sort Any Data
 Filter and Sort any data
–
–
Define a filter to restrict the result of any type of
data (CSV, XML, WebService, Web Page)
Sort the result
Unique Value
With Omniportlet
 Page designers 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
The OmniPortlet
Programmatic Portlets
When to use a 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, PDKPLSQL
Web
Clipping
Oracle eBusiness
Suite/Integration
Solutions/3rd 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, PDKPLSQL
Web
Clipping
Oracle eBusiness
Suite/Integration
Solutions/3rd Party Partner
Portlets
Page Designer
Declarative Development
PortletBuilder
Oracle
JDeveloper
wizard
IT Developer
Coded Development
What are the PDK APIs?
 Set of Services to simplify developing
Java Web Providers
 Enables Java programmers to quickly
expose Java based applications as
portlets
 Abstracts underlying communications mechanisms
 Provides mechanisms for displaying multiple content
types, end user customization, security, and session
storage
What Does the PDK Support?
And much more…
Java Web Providers
 Can reside on remote machine or local to the
portal
 PORTAL
Communicate
w/ portal
using
SOAP over
(INSTANCE)
REMOTE
/ LOCAL
HTTP
Portlet 1a
URL 1
Provider 1
Portlet 1b
Portal
Portlet 2a
URL 2
Provider 2
Portlet 2b
SOAP / HTTP
Java Web Providers
Portal
URL 2
SOAP / HTTP
Provider 2
RUNTIME
Provider 1
ADAPTER
URL 1
Definition
REMOTE / LOCAL
JPDK TOOLKIT
INTERFACE
PORTAL (INSTANCE)
Definition
 PDK Toolkit is implemented in Java (.ear packaging)
 Designed to be extensible and configured declaratively
 Handles communication between provider and portal
Portlet 1a
Portlet 1b
Portlet 2a
Portlet 2b
Java Portlet Wizard




Create Portlet Directly from within Oracle JDeveloper
Add Business Logic
Test Portlet directly from within Oracle JDeveloper
Deploy to Application Server
PDK Feature Areas
Use the Latest Technologies
User Interface
Information Storage
Struts
Parameters & Events
&
Internationalization
LDAP Security
Session Management
Performance
Security
Portletize Your Struts
Applications
• Application is
visible as a
Portlet
•User actions
are ‘captured’
by the Portal
Portletize Your Struts
Integration
• The logic is the
same
•The view is
different
Portal / Struts Integration
Business logic
Model
Controller
ActionServlet
Persistence Layer
(Apache Struts Controller)
EJB, TopLink, BC4J, JDO, Java
User inputs
Page Flow
Handling Logic
Value Object
(Java Bean)
Value Object
(Java Bean)
View
Create
a Portal View
JSP
LDAP Security Using Oracle
Internet Directory (OID)
Secure portlets based on OracleAS Portal groups.
Restrict access to portlet administrative functions.
Retrieve all of the user property information stored
in the Oracle Internet Directory server.
Create users and groups for OracleAS Portal.
D E M O N S T R A T I O N
Struts & LDAP Security
The Need for Portlet
Standards
 Partners (or customers in a Heterogeneous
Portal environment) currently have to build
Portlets for EACH vendor’s Portal
 Pain points:
–
–
–
Different API’s
Different capabilities
Resources required to build and maintain these
portlets
Before the Portlet
Standards….
OracleAS
Portal
IBM
Websphere
Portal
BEA
Weblogic
Portal
News
YellowBrix
(Oracle)
Weather
News
YellowBrix
(IBM)
Weather
News
YellowBrix
(BEA)
Weather
With the Portlet Standards….
OracleAS
Portal
IBM
Websphere
Portal
BEA
Weblogic
Portal
News
YellowBrix
Weather
What is OASIS/WSRP?
OASIS * Web Services for Remote
Portlets (WSRP) - A Web services
standard that allows the plug-n-play
of visual, user-facing Web services
with portals.
* OASIS : Organization for the Advancement of Structured Information Standards
What is JSR 168?
JSR 168* defines a set of APIs to
enable interoperability between
Portlets and Portals.
* Java Specification Request Portlet Specification (API)
Portal
Server
SOAP
Protocol
SOAP
Adapter
SOAP
Protocol
JPDK Portlet Container
SOAP
Adapter
HTTP Listener
Highlight of OracleAS Portal
Architecture
JPDK Portlet Container
Portlet
Portlet
Portlet
Portlet
Portal
Server
WSRP
Protocol
WSRP
Adapter
WSRP
Protocol
JSR 168 Portlet Container
WSRP
Adapter
HTTP Listener
Highlight of Architecture in WSRP
Specification
JSR 168 Portlet Container
Portlet
Portlet
Portlet
Portlet
SOAP
Protocol
WSRP
Protocol
Portlet
Portlet
SOAP
Adapter
Portal
Server
JSR 168 Portlet Container
JPDK Portlet Container
WSRP
Adapter
HTTP Listener
WSRP
Protocol
WSRP
Adapter
Supporting the Standards &
Backward Compatibility
Any WSRP Container
Portlet
Portlet
Portlet
Portlet
What is Currently Available?
 PDK Standards Preview
 Hosted WSRP compliant Portal
–
–
View WSRP/JSR 168 collateral
Register and test/verify your WSRP compliant
portlets (including non-Oracle)
 Java Portlet Wizard to build WSRP compliant
portlets
D E M O N S T R A T I O N
Oracle JDeveloper
Wizard for
JSR 168
More Information
 The community that brings together everyone
and everything you need to know about for
OracleAS Portal
 Product information, training, support
http://portalcenter.oracle.com/
Reminder –
please complete the
OracleWorld online session
survey
Thank you.
Q U E S T I O N S
A N S W E R S
Session & Activity Guide
Activities - ENTERPRISE PORTALS
•Get Your Community to
Collaborate on the Same Portal
Wednesday, 8:30 AM Moscone 252
•Meet the Portal Guru – Marco
Tilli
Tuesday, 3:30 PM - Guru Lounge
•Integrate your Enterprise
Business Applications Into Your
Portal
Wednesday, 11:00 AM Moscone 252
•Portal Partners
Oracle Application Server Partner
Pavilion - Booth 710
•Tips and Techniques for
Deploying a Scalable Portal
Wednesday, 1:00 PM Moscone 302
•Administer and Monitor Your
Portal with Oracle Enterprise
Manager
Wednesday, 4:30 PM Moscone 302
•Hands On Labs
Marriott Hotel - Golden Gate B2
•Oracle DEMOgrounds
Show floor: Booth 1326 Oracle AS