Web Services Development Using WebLogic Server v9.2 Training

Duration: 
4 days
Codes: 
WA1530
Versions: 
V9.2

Overview

This course is aimed at WebLogic Server v9.2 developers who are interested in learning how to code Web Services. First, an introduction to web service technologies will be discussed (covering basic web service components such as WSDL, SOAP and XML Schema). Then, students will then go on to learn how to design and code JSR-109 web services using the Workshop Studio IDE. Finally, advanced topics such as Web Services Interopability, web service security, and even an introduction to Service Oriented Analysis and Design will be discussed.

Audience

J2EE developers who will like to learn about how to build a Web Services based solution. This class covers many advanced topics that will help them build a solution appropriate for a large business.

Skills Gained

  • XML schema design
  • SOAP
  • WSDL
  • JAX/RPC
  • JSR 109
  • UDDI
  • WS-Security
  • Interoperability issues

After completing this course, the student should be able to:

  • Confidently design XML schema and WSDL.
  • Tell the difference between different SOAP styles (document literal, RPC literal etc.)
  • Implement a Web Service using WebLogic Server.
  • Write a Web Services client using standard Java specifications.
  • Register a service in a public or private UDDI registry.
  • Secure web services.
  • Learn the interoperability issues especially with the .NET platform.

Prerequisites

Java programming. Beginner level knowledge of J2EE and XML. Duration Four days

Course Outline

Outline of Web Services Development Using WebLogic Server v9.2 Training 1. Introduction To Workshop Studio

  • Overview
  • The Eclipse Platform
  • Eclipse 3.0 Java IDE
  • Views, Perspective and Editor Areas
  • Basic Operations with Eclipse Views and Perspectives
  • The Java Perspective
  • The Debug Perspective
  • Navigator View
  • Build and Validation
  • Templates and Code Completion
  • Searching
  • Workshop Studio
  • BEA WebLogic Server
  • Summary

2. J2EE Overview

  • Objectives
  • Goals of Enterprise Applications
  • What is Java?
  • What is J2EE?
  • Role of Application Server
  • The J2EE Specifications
  • J2EE Components
  • What is a Servlet?
  • What is a JSP?
  • What is an EJB?
  • Model-View-Controller Architecture
  • MVC An Example
  • Web Client
  • Applet
  • Application Client
  • J2EE Vendor Specifications
  • Containers
  • J2EE Blueprint
  • Reference

3. Introduction to Web Services

  • Service Oriented Architecture(SOA)
  • Basic SOA
  • SOA Runtime Implementation
  • SOA
  • Web Services
  • Typical Development Workflow
  • Advantages of Web Services
  • Web Services Business Models
  • Case Study: Internal System Integration
  • Case Study: Business Process Externalization
  • SOAP
  • UDDI
  • Web Services Description Language(WSDL)
  • Web Services Invocation Framework(WSIF)
  • WSIF and WSDL
  • Web Services Interoperability(WS-I)
  • WS-I Deliverables
  • Web Services Support in Workshop Studio

4. XML Programming

  • XML Overview
  • Data and Document Structure
  • An Employee Document
  • Tags
  • First XML Document
  • What is XML ?
  • Why XML?
  • An Example of XML Document
  • Well-Formed v. Valid XML Document
  • Enforcing Validity: DTDs
  • Presentation Style
  • Sections of an XML Document
  • XML Elements
  • Nesting and Hierarchy of XML Elements
  • Tag Attributes
  • Naming Rules
  • Namespaces
  • Using Namespaces
  • Java API for XML
  • The XML Example
  • Example SAX Handler
  • Example: Begin Parsing
  • Once Again with Namespace
  • Using DOM to Parse
  • With Namespace Enabled
  • Example: Build DOM Document
  • Example: Save DOM Document in a File

5. XML Schema Basics

  • What is an XML Schema?
  • Creating a Schema File
  • Defining a Simple Element
  • Defining a Complex Element
  • Defining Element Attributes
  • Referring to an Element From Another Element
  • Defining Abstract Data Types
  • Adding Restrictions
  • Referring to a Schema from an XML Document

6. Web Services Description Language (WSDL)

  • WSDL Overview
  • WSDL Document Tags
  • WSDL Namespaces
  • Sample WSDL Document Structure
  • One-way
  • Request-Response
  • Solicit-Response
  • Notification
  • Modeling Simple Operation
  • Modeling Complex Operation
  • Modeling Complex Message
  • More on
  • Syntax
  • SOAP Binding Example
  • and
  • WSDL SOAP Binding Extensions
  • soap:binding
  • soap:operation
  • RPC or Document Style?
  • WSDL API for Java

7. Simple Object Access Protocol (SOAP)

  • SOAP Overview
  • SOAP In Protocol Stack
  • SOAP Components
  • Message Envelope
  • Message Envelope: Headers
  • SOAP HTTP Request Example
  • SOAP HTTP Response Example
  • Header Attributes
  • SOAP Body
  • SOAP Fault
  • Communication Style
  • RPC/Encoded Style
  • RPC/Literal Style
  • Enabling RPC Styles
  • Document/Literal Style
  • Document/Literal Wrapped Style
  • Details of the Wrapped Style
  • Enabling Document Literal Style

8. JAX-RPC (JSR 101)

  • JAX-RPC Overview
  • JAX-RPC Framework
  • Java to XML Data Conversion
  • Main Goals of JAX-RPC
  • Supported Protocols
  • JAX-RPC Supported Types
  • JAX-RPC Server
  • Server Side Artifacts
  • Generating Server Artifacts
  • JAX-RPC and WS-I
  • JAX-RPC Clients
  • JAX-RPC Client Model
  • JAX-RPC Client - Static Stub
  • Generating Client Side Code
  • Client Programming Model
  • JAX-RPC Client Dynamic Proxy
  • Dynamic Invocation Interface
  • JAX-RPC Type Mapping
  • 1. Mapping XML Types to Java Types Simple Types
  • 1. Mapping XML Types to Java Types Complex Types
  • Complex Type Mapping - Example
  • 1. Mapping XML Types to Java Types Arrays
  • Mapping Arrays - Example
  • 2. Mapping abstract WSDL definitions to Java
  • Mapping concrete WSDL types to Java types 3. Mapping Concrete WSDL Types to Java Types
  • 3. Mapping Concrete WSDL Types to Java Types
  • Java to WSDL/XML Mapping
  • Mapping Tools

9. Web Services for J2EE

  • Introduction
  • JSR-109 - Motivation
  • When to Use JSR 109?
  • JSR-109 Roles
  • The Server Programming Model
  • The Service Endpoint Interface
  • Web Module Service
  • Accessing the Service
  • The Mapping File
  • Implementation Class Details
  • Lifecycle Callback
  • EJB Module Service
  • The Client Programming Model
  • Developing a Client
  • The Service Interface
  • Writing a Client
  • Handlers
  • Handlers Example(Server-Side)
  • Handlers Example(Client-Side)

10. WebLogic Server Support for Web Services

  • Web Service Scenarios
  • Web Service: Bottom-Up
  • Web Service: Top-Down
  • Ant
  • Example: Bottom-up
  • Annotate the JWS
  • Run the jwsc task
  • Generated Artifacts
  • Web Services Deployment Descriptor
  • Example: webservices.xml
  • The Generated WSDL File
  • The WSDL Editor
  • Other JWS Annotations
  • JWS Implementation
  • Creating A SSB Implementation
  • Top Down Implementations
  • wsdlc Created Artifacts
  • The Generated JWS
  • Generating A Client
  • Generated Client Classes
  • Using The Client Classes

11. Introduction to UDDI

  • UDDI Overview
  • UDDI in Web Services Architecture
  • Businesses and Services in UDDI
  • Static and Dynamic Web Services
  • UDDI Registry Structure
  • UDDI Registry Structure -tModel
  • UDDI Interactions
  • UDDI and Workshop Studio
  • WebLogic Server UDDI

12. Error Handling

  • Fault
  • Designing Faults
  • System Problems
  • Business Rule Violation

13. Web Services Security

  • The Challenges
  • Public Key Infrastructure (PKI)
  • Digital Signature
  • Certificates
  • Overview of Web Services Security
  • SOAP Message Security
  • Message Integrity
  • Message Confidentiality
  • Authentication
  • Transport Level Security
  • Configuring Security in WebLogic
  • Web Service Annotations
  • Policy Annotations
  • Integrity
  • Authority
  • Confidentiality
  • Coding the Client

14. Web Services Interoperability (WS-I)

  • Goal
  • What Comes out of WS-I?
  • Profiles
  • Basic Profile 1.1 Highlights
  • Simple SOAP Binding Profile 1.0 Highlights
  • Basic Security Profile 1.0
  • .NET Interoperability

15. Introduction to Service Oriented Analysis & Design (SOAD)

  • Introduction to SOAD
  • Applying OOAD Principles
  • Abstraction
  • Abstraction in SOAD
  • Encapsulation
  • Encapsulation in SOAD
  • Modularity
  • Modularity in SOAD
  • Hierarchy
  • Hierarchy in SOAD
  • Why OOAD is Not Enough
  • Granularity
  • The Need for Loose Coupling
  • The SOAD Methodology
  • The SOAD Methodology Steps
  • Stage 1: Process Modeling
  • Stage 2: Service Identification
  • Stage 3: Service Design & Implementation
  • Stage 4: Process Implementation

16. Best Practices

  • Architecture Best Practices
  • Data Format Best Practices
  • Security Best Practices
  • Programming Model Best Practices

Thinking about Onsite?

If you need training for 3 or more people, you should ask us about onsite training. Putting aside the obvious location benefit, content can be customised to better meet your business objectives and more can be covered than in a public classroom. It's a cost effective option.

Submit an enquiry from any page on this site, and let us know you are interested in the requirements box, or simply mention it when we contact you.