Jerry Held - Oracle Software Downloads

Download Report

Transcript Jerry Held - Oracle Software Downloads

Scott Brewton
Principal Java/Web Instructor
Oracle Corporation
Session id: 40110
Rapid J2EE and Web Services
Development with Oracle
JDeveloper 10g
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
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)
Oracle ADF Application
Architecture
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
Service Oriented
Wireless
Application
PDA
PL/SQL
Subprogram
Client
Application
Creating the UML Diagram
Generating the Web Service
Generate Stub/Skeleton
Generate Stub/Skeleton
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
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
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
Selecting the method(s)
Run your Web Service
Completed Web Service Diagram
Deploying the Web Service
Viewing the deployed Web
Service
Invoking setCustEmail()
Invoking getCustEmail()
Viewing the result
D E M O N S T R A T I O N
Creating a Web Service
using UML
QUESTIONS
ANSWERS
Reminder –
please complete the
OracleWorld online session
survey
Thank you.