Scott Brewton Principal Java/Web Instructor Oracle Corporation

27

description

Scott Brewton Principal Java/Web Instructor Oracle Corporation. Session id: 40110. Rapid J2EE and Web Services Development with Oracle JDeveloper 10 g. Next Steps…. Recommended sessions 40230 Building your first End-to-End J2EE Application using Oracle JDeveloper 10 g - PowerPoint PPT Presentation

Transcript of Scott Brewton Principal Java/Web Instructor Oracle Corporation

Page 1: Scott Brewton Principal Java/Web Instructor Oracle Corporation
Page 2: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Scott BrewtonPrincipal Java/Web Instructor

Oracle Corporation

Scott BrewtonPrincipal Java/Web Instructor

Oracle Corporation

Page 3: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Rapid J2EE and Web Services Development with Oracle

JDeveloper 10g

Session id: 40110

Page 4: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Next Steps…. Recommended sessions

40230 Building your first End-to-End J2EE Application using Oracle JDeveloper 10g

40231 Visual and Declarative J2EE Development with Oracle JDeveloper 10g and Oracle ADF: An

Overview

Demonstration– Creating and consuming a Web Service using UML

See Your Business in Our Software– Visit the DEMOgrounds for a customized architectural

review, see a customized demo with Solutions Factory, or receive a personalized proposal. Visit the DEMOgrounds for more information.

Relevant web sites to visit for more information– http://otn.oracle.com/tech/webservices/content.html

Page 5: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Oracle ADF (Application Development Framework)

Higher productivity with JDeveloper 10g IDE– Application Navigator– Technology Scopes and Application Templates– Drag and Drop DataBinding– New Visual Editors (WYSIWYG)– Visual Page Flow Modeling

Distinct model, view, and controller layers (MVC2)

Page 6: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Oracle ADF Application Architecture

Page 7: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Web Services

Web Services Development with JDeveloper 10g

– J2EE Web Services, based on Java classes, EJBs, BC4J Modules wrapped as EJBs

– SOAP Web Services, based on Java classes, EJBs, BC4J Modules wrapped as EJBs

– PL/SQL Web Services, based on program units stored in PL/SQL packages in the database

– JMS Web Services, for asynchronous message queuing

Page 8: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Service Oriented

PL/SQL Subprogram

PDAWireless Application

Client Application

Page 9: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Creating the UML Diagram

Page 10: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Generating the Web Service

Page 11: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Generate Stub/Skeleton

Page 12: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Generate Stub/Skeleton

Page 13: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Wizard Components

WSDL Document URL Enter the URL of the Web Service Description that you want to use.

This could be a:

• File that you locate using the Browse button

• HTTP URL

Generate Client Side Stubs– Select this to generate a client-side Java stub for the service

Generate Main method into Stub– The generated Stub will contain a main() so that you can run

stub methods without having to create another class

Generate basic HTTP Authentication code– Select this to generate the outline code for HTTP

Authentication

Page 14: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Wizard Components

Generate basic Proxy Authentication code Select this option to generate proxy code to facilitate

consuming the service through a proxy server

Generate Server Side Skeletons– Select this to generate a server-side skeleton interface from

the WSDL Document

Import WSDL Document into project– Selecting this will add a node to the Navigator of the WSDL

URL– This creates a pointer to the WSDL location so you can

interrogate it by double clicking the node in the Navigator

Page 15: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Wizard Components

Default Package– The default package into which the generated Java classes

for the stubs or skeletons will be generated is displayed. You can either accept the default, or enter your own package name.

– The entry in this field will be ignored when you are generating a stub to a web service created using JDeveloper which uses java beans. In this case the default package name created, when the web service was generated is used

Page 16: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Selecting the method(s)

Page 17: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Run your Web Service

Page 18: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Completed Web Service Diagram

Page 19: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Deploying the Web Service

Page 20: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Viewing the deployed Web Service

Page 21: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Invoking setCustEmail()

Page 22: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Invoking getCustEmail()

Page 23: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Viewing the result

Page 24: Scott Brewton Principal Java/Web Instructor Oracle Corporation

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

Creating a Web Service using UML

Page 25: Scott Brewton Principal Java/Web Instructor Oracle Corporation

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 26: Scott Brewton Principal Java/Web Instructor Oracle Corporation

Reminder – please complete the OracleWorld online session survey

Thank you.

Page 27: Scott Brewton Principal Java/Web Instructor Oracle Corporation