CTE Solutions chair
Quick Search:  
Course No.  
FacebookTwitterLinkedInYouTube
Savings

Got A Question?
Talk to an Educational Consultant and get the answers you need.

By Phone
Ottawa: 613-798-5353
Toronto: 416-284-2700
Toll Free: 866-635-5353

right arrow Ask your question online

JV007 - Service Oriented Architecture and Java Web Services

View Dates and Locations

Summary


Java Training2 days 


The cross-platform nature of Java facilitates distributed applications running on multiple hardware and OS. The Web Services are a great choice for integrating applications that are written in various languages. In this 2-day class we will discuss Web Services Description Language (WSDL), Simple Object Access Protocol (SOAP), and XML. During this class student will be using JAX-RPC toolkit for developing web services in Java programming language.


Prerequisites


This course is intended for Java programmers who want to learn about Web Services and how they are implemented using Java.  Students should be knowledgeable in the writing and compiling of Java classes.  Helpful prerequisites include knowledge of RMI and an understanding of distributed computing, serialization, and Java interfaces. 


Objectives


  • Understand the goals and purpose of the Web Services Architecture
  • Learn the various technologies that comprise Web Services
  • Understand how XML makes Web Services possible
  • Learn about the various Web Services vendors and products available for development and deployment of Web Services applications
  • Understand the SOAP architecture and how to implement SOAP in Java
  • Understand and learn how to use the Web Services Definition Language (WSDL).
  • Learn about the various Java Web Services API's likeJAX-RPC, JAXM, SAAJ, and JAXP.
  • Design, develop, and deploy a Web Services application using Java  
  • Understand the UDDI architecture and how to implement UDDI in Java
  • Learn how Web Services relate to J2EE applications
  • Access a Web Service using various types of clients, including stand-alone client applications and J2EE component clients

Exam Information


There is no exam associated with this course.


Course Outline


Chapter 1: Introduction


  • Overview of Web Services
  • WS-I and BP
  • Service-Oriented Architecture
  • J2EE Web Services
  • Overview of XML
  • Overview of SOAP
  • Overview of WSDL
  • Overview of UDDI
  • The J2EE Web Service APIs: JAX-RPC
  • The J2EE Web Service APIs: SAAJ,,JAXR, JAXP
  • Benefits of Web Services

Chapter 2:  XML


  • What is XML?
  • The Main Difference Between XML and HTML
  • XML Example
  • XML and the Web.
  • Data and Document Structure
  • Well-Formed XML
  • Greating the XML File
  • Declaration
  • Comments
  • Root Element
  • Attributes
  • Nested Elements
  • Nested Elements vs. Attributes
  • Validation
  • XML DTD
  • External DOCTYPE Declaration
  • Namespaces

Chapter 3:  XML Schema


  • Schema Example
  • Assigning and Locating Schemas
  • Reference to an XML Schema
  • The <schema> Element
  • Target Namespace
  • Simple Element
  • Default and Fixed Values
  • Attributes
  • Complex Element
  • Global Element 

Chapter 4: The Java API for XML Processing (JAXP)


  • JAXP
  • Overview of SAX
  • Overview of DOM
  • SAX Parser
  • SAX Parser Example
  • Handlers
  • Parser With a Handler
  • Error Handlers
  • Exercise
  • DOM Parser
  • Error Handling
  • Example
  • DOM Nodes
  • The Document Interface
  • Creating an XML Document
  • Exercise
  • XSTL

Chapter 5: Simple Object Access protocol


  • Architecture
  • Messages
  • Example of a SOAP Message
  • The actor Attribute
  • The Body
  • The Fault Element
  • Pre-Defined Child Elements of Fault
  • Encoding Style
  • Attachments 

Chapter 6: Web Services Definition Language


  • Introduction to WSDL
  • WSDL Documents
  • WSDL Ports
  • Binding
  • WSDL Syntax 

Chapter 7: SOAP-to-WSDL Mapping


  • Four style/use Models
  • Java Method: myMethod
  • RPC/encoded WSDL for myMethod
  • RPC/encoded SOAP Message for myMethod
  • Strengths and Weaknesses
  • RPC/literal WSDL for myMethod
  • RPC/literal SOAP Message for myMethod
  • Strengths and Weaknesses
  • Document/literal WSDL for myMethod
  • Document/literal SOAP Message for myMethod
  • Strengths and Weaknesses 

Chapter 8: Building Web Services with JAX-RPC


  • Why Use JAX-RPC?
  • An Overview of JAX-RPC
  • Writing a JAX-RPC Service
  • Define the Service EndPoint Interface
  • Implement the Interface
  • The Client
  • Building the Servise
  • The service-config.xml File
  • The WSDL File
  • The mapping.xml File
  • Creating Application EAR File
  • Deploytool
  • SimpleService.ear File
  • SimpleService.war File
  • Verify The EAR File
  • Deploy the EAR File into Application Server
  • The client-config.xml File
  • Generating stub
  • Compile the Client
  • Run the Client

Chapter 9: Implementing Session Bean as a Web Service


  • Overview
  • Endpoint Interface
  • The Bean Class
  • The Client
  • Building and Running Web Service
  • Creating the WSDL Document
  • SimpleBeanApp file
  • Web service as a Session Bean
  • Deploying Web Service
  • Run the Client 

Chapter 10: SOAP with Attachments API for Java


  • Introduction to SAAJ
  • Messages with no Attachment
  • Messages with Attachment
  • Connections
  • SOAPConnection Object
  • Creating a Message
  • Accessing Elements of a Message
  • Sending a File
  • Example: Sending a File

Chapter 11: Web Security


  • Overview
  • The Security Management
  • Declarative Security
  • Programmatic Security
     

      3 Ways to Register
$950.00
$807.50 CAD
online only

Register Online
1 (866) 635-5353
sales@ctesolutions.com
Ask About This Course

  Latest Tweet


About This Course
Certifications
Register Online and instantly save!