web services development made easy

27

Upload: amena-villarreal

Post on 30-Dec-2015

35 views

Category:

Documents


3 download

DESCRIPTION

Web Services Development made easy. 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. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Web Services Development  made easy
Page 2: Web Services Development  made easy

Web Services Development

made easy

Page 3: Web Services Development  made easy

Olivier Le DiourisPrincipal Product Manager

Page 4: Web Services Development  made easy

Agenda

The Scope Database as a Service Provider Database as a Service Consumer Future

Page 5: Web Services Development  made easy

Agenda

The Scope Database as a Service Provider Database as a Service Consumer Future

Page 6: Web Services Development  made easy

The Scope

Web Services Technology Stack– SOAP– WSDL– UDDI

SOAP Architecture : Services & Service Providers JSR-109 : J2EE Web Services Benefits of J2EE

Internet

Web Services

Page 7: Web Services Development  made easy

Web Services Technology Stack

SOAP

UDDI

WSDL

Uses the Internet, firewall friendly Language & Platform agnostic Good interoperability, NO portability Uses XML messaging Stateless

C, C++ Perl

VisualBasic

Java

C#PL/SQL

CobolADA

Fortran

Pascal

APL

SPL

Page 8: Web Services Development  made easy

SOAP Services and Providers

A SOAP Request

A SOAP Service

Greetings,Stock Quotes,Directions,Currency Rates,Traffic, …

A SOAP Provider

Java,Perl, Shell Script,PL/SQL, VB, …

Page 9: Web Services Development  made easy

Web Services & J2EE

JDBC

JCA

JMS

Servlet

JSP

EJB

war-filesear-files

J2SE

J2ME

JAX-P

JAX-M

JAX-RJAX-RPC

JAX-B

…more!Java

C, C++ Perl

Visual BasicJava

C#

PL/SQL

Cobol

ADA

Fortran

PascalAPL

SPL

QuickBasic

Smalltalk

Prolog

JSR 109

Page 10: Web Services Development  made easy

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

Page 11: Web Services Development  made easy

D E M O N S T R A T I O N

A J2EE Web Service and its Proxy

Page 12: Web Services Development  made easy

Agenda

The Scope Database as a Service Provider Database as a Service Consumer Future

Page 13: Web Services Development  made easy

Database as a Service Provider

Already existing logic or data-centric process running in the Database

To be published as a J2EE Web Service (JSR 109)

Use JPublisher to generate the java wrapper

Page 14: Web Services Development  made easy

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 container’s data-sources and connection pooling mechanism

Page 15: Web Services Development  made easy

Oracle JPublisher

Available since Oracle 8 Can manage unsupported types Today, uses SQLJ Available from the command line, as well

as from IDE Wizards

Page 16: Web Services Development  made easy

D E M O N S T R A T I O N

Exposing PL/SQL as a Web Service

Page 17: Web Services Development  made easy

Agenda

The Scope Database as a Service Provider Database as a Service Consumer Future

Page 18: Web Services Development  made easy

Database as a Service Consumer

Web Services access from the Database Immediately available for any application

accessing the Database (SQL Statement, Oracle PL/SQL, Oracle Forms, etc)

Use the appropriate features wherever they run

Internet

Web Services

Page 19: Web Services Development  made easy

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: It’s another PL/SQL executable

Internet

Web Services

Page 20: Web Services Development  made easy

Requirements

Store the libraries required by the SOAP client in the Database (use loadjava)

Grant the appropriate privileges to access external resources

Internet

Web Services

Page 21: Web Services Development  made easy

D E M O N S T R A T I O N

Consuming a Web Service from

the Database

Page 22: Web Services Development  made easy

Agenda

The Scope Database as a Service Provider Database as a Service Consumer Future

Page 23: Web Services Development  made easy

What’s coming SQL Query and DML

– Additional Returned Data Formats

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

– Command line– JDeveloper

Page 24: Web Services Development  made easy

otn.oracle.com

Join Over 3,000,000 Developers!

Free Software Downloads

http://otn.oracle.com

Free Technical Advice

Page 25: Web Services Development  made easy

For more information

TheServerSide.com J2EE Community– Largest J2EE site in the world– 305,000 registered members– Enterprise Java News– Design Patterns– Free Books– Product Reviews– Articles and Video Interviews

Page 26: Web Services Development  made easy

AQ&Q U E S T I O N SQ U E S T I O N S

A N S W E R SA N S W E R S

Page 27: Web Services Development  made easy