Professional Documents
Culture Documents
Olivier Le Diouris
Principal Product Manager
Agenda
The Scope Database as a Service Provider Database as a Service Consumer Future
Agenda
The Scope Database as a Service Provider Database as a Service Consumer Future
The Scope
Web Services Technology Stack
SOAP Architecture : Services & Service Providers JSR-109 : J2EE Web Services Benefits of J2EE
Web Services Internet
WSDL
C, C++
UDDI
A SOAP Request
A SOAP Service
Java
C# C, C++
Fortran
PL/SQL Java Visual Basic SPL Cobol APL Pascal ADA Prolog
Perl
JSR 109
How to deploy a Java Web Service the J2EE way Java Class(es) Java Interface WSDL document Bundled as a J2EE ear-file Brings portability to a Web Services application
OC4J
D E M O N S T R A T I O N
Agenda
The Scope Database as a Service Provider Database as a Service Consumer Future
Rationale
Use Oracle JPublisher to generate a Java wrapper Publish the Java Wrapper as a JSR-109 compliant Web Service Will take advantage of the J2EE containers data-sources and connection pooling mechanism
Oracle JPublisher
Available since Oracle 8 Can manage unsupported types Today, uses SQLJ Available from the command line, as well as from IDE Wizards
D E M O N S T R A T I O N
Agenda
The Scope Database as a Service Provider Database as a Service Consumer Future
Rationale
Generate a java stub or proxy for any Web Service, after the associated WSDL Publish this stub or proxy as a Java Stored Procedure Result: Its another PL/SQL executable
Web Services Internet
Requirements
Store the libraries required by the SOAP client in the Database (use loadjava) Grant the appropriate privileges to access external resources
D E M O N S T R A T I O N
Agenda
The Scope Database as a Service Provider Database as a Service Consumer Future
Whats coming
SQL Query and DML
Direct Java-to-Java invocation AQ /Streams operations XML Operations Asynchronous/Deferred Service execution JAX-RPC Client SOAP stack Automatic Table Function Generation Enhanced Tooling
otn.oracle.com
Largest J2EE site in the world 305,000 registered members Enterprise Java News Design Patterns Free Books Product Reviews Articles and Video Interviews
QUESTIONS ANSWERS