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  Web Services Technology Stack – – – SOAP WSDL UDDI  SOAP Architecture : Services & Service Providers  JSR-109 : J2EE Web Services  Benefits of J2EE Web Services Internet .

firewall friendly Language & Platform agnostic Good interoperability. C++ UDDI .Web Services Technology Stack      Uses the Internet. NO portability Uses XML messaging Stateless SOAP Fortran Perl VisualBasic Cobol Pascal Java C# APL PL/SQL ADA SPL WSDL C.

Directions. … . Currency Rates.SOAP Services and Providers A SOAP Provider Java. VB. Perl. PL/SQL. … A SOAP Request A SOAP Service Greetings. Traffic. Stock Quotes. Shell Script.

Web Services & J2EE JSR 109 QuickBasic J2SE …more! JMS J2ME JSP JDBC JAX-M war-files JAX-B Servlet ear-files EJB JAX-P JAX-R JCA JAX-RPC Smalltalk 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 A J2EE Web Service and its Proxy .

Agenda     The Scope Database as a Service Provider Database as a Service Consumer Future .

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 .

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 .

uses SQLJ Available from the command line.Oracle JPublisher     Available since Oracle 8 Can manage unsupported types Today. as well as from IDE Wizards .

D E M O N S T R A T I O N Exposing PL/SQL as a Web Service .

Agenda     The Scope Database as a Service Provider Database as a Service Consumer Future .

Oracle Forms. etc)  Use the appropriate features wherever they run Web Services Internet . Oracle PL/SQL.Database as a Service Consumer  Web Services access from the Database  Immediately available for any application accessing the Database (SQL Statement.

after the associated WSDL  Publish this stub or proxy as a Java Stored Procedure  Result: It’s another PL/SQL executable Web Services Internet .Rationale  Generate a java stub or proxy for any Web Service.

Requirements  Store the libraries required by the SOAP client in the Database (use loadjava)  Grant the appropriate privileges to access external resources Web Services Internet .

D E M O N S T R A T I O N Consuming a Web Service from the Database .

Agenda     The Scope Database as a Service Provider Database as a Service Consumer Future .

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 .

oracle.oracle.com .otn.com Join Over 3.000 Developers! Free Technical Advice Free Software Downloads http://otn.000.

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

QUESTIONS ANSWERS .

Sign up to vote on this title
UsefulNot useful