Professional Documents
Culture Documents
Oracle: Developer Day
Oracle: Developer Day
Developer Day
Sponsored by:
Track # 1: Session #2
Web Services
Speaker
1
Agenda
Points to
service
Finds Describes
Service Service
Web
WebService
Service SOAP Web
WebService
Service
Client
Client (J2EE,
(J2EE,PL/SQL,
PL/SQL,
(J2EE, .NET,C/C++,
(J2EE,.NET,
.NET, .NET,C/C++,
PL/SQL Legacy
Legacy…)
PL/SQL…)…) Invokes with …)
XML Messages
2
Enterprise Web Services
Standards + QoS + Processes
TPM, Mainframe,
Web Service Distributed Management Legacy Sys
JAX-
JAX-*: JAX-
JAX-B, JAX-
JAX-P, JAX-
JAX-RPC, … Databases
SOA Tools
WS-
WS-I Basic Profile
SOAP, WSDL, UDDI
B2B Partners
3
JAX-RPC
Core WS standard for Java
– Enables portability across containers
(different vendors implemented differently before JAX-RPC
for J2EE 1.4)
Standard class and interface structure for client and
server
– Various hook-points for custom serializers, custom
handlers, attachments
Tools must provide abstractions to handle service as
set of classes
– Navigator structure for quick location
– Wizard support for declarative definition
4
Beyond J2EE 1.4
Description
JSR-181 Annotations
5
EJB 3.0 as Web Service
6
Two Development Use Cases
Top Down Contract Driven And Bottom Up
Bottom Up Top Down
Service
WSDL
Implementation
Service
WSDL
Implementation
D E M O N S T R A T I O N
7
Agenda
Reliability
– Are my messages actually being delivered?
Guaranteed delivery, ordered delivery
– WS-ReliableExchange standard in OASIS
Security
– Are my messages secure?
Authentication, encryption and signing
– WS-Security standard in OASIS
Management
– How is my system handling messages?
Configuration, logging, monitoring
– WS for Distributed Management (WSDM) standard in OASIS
8
Web Services Reliability
Sender Receiver
Application Application
Layer Layer
Msg
SOAP Node SOAP Node
With With
Reliable Messaging Reliable Messaging
Ack
9
Administration of Web Services
Auditing, Logging,
Reliability and
WS-Security
Monitoring and
Performance
Analysis
D E M O N S T R A T I O N
Administration of
Web Services
10
Web Services Management
Managing and deploying operational policies
across applications and Web services
– Layer best-practice security and management
across all services
No modifications to applications or services
– Support WS-* standards
Can secure/manage Web services
implemented in heterogeneous languages
and environments
Policy
Gateway
Policy
Policy Agents Web Service
Manager Monitor
Web Services
11
Policy Enforcement and
Visibility: Monitoring
Provide real-time
visibility into Web
Service interactions
– Automatic issue
resolution by
dynamically
updating policies
– Alerts about
anomalies
– Enforce policies
– Validate compliance
with IT best practices
12
D E M O N S T R A T I O N
Agenda
13
Best Practices – Web Services
14
Join Over 3,000,000 Developers!
Free Technical Advice
Free Software Downloads
www.oracle.com/technology/products/jdev
www.oracle.com/technology/products/jdev
otn.oracle.com/tech/
otn.oracle.com/tech/webservices
.oracle.com/tech/webservices
otn.oracle.com/tech/java
otn.oracle.com/tech/java
otn.oracle.com/
otn.oracle.com/bpel
.oracle.com/bpel
oracle.com/education
15
Q&QUESTIONS
A ANSWERS
Oracle
Developer Day
Sponsored by:
16