SCDJWS 5.0 Study Guide

IBA JV

Mikalai Zaikin

Belarus Minsk

Redistribution of this document is permitted as long as it is not used for profits.

September 2009

Revision History
Revision 1.128 Sep 2009MZ
Updated sections 11.2, 12.3
Revision 1.015 Sep 2009MZ
Proposed Final Draft.

Abstract

The purpose of this document is to help in preparation for exam CX-310-230 (Sun Certified Developer for Java Web Services 5.0).

This document should not be used as the only study material for SCDJWS 5.0 test. It covers all objective topics, but it is not enough. I tried to make this document as much accurate as possible, but if you find any error, please let me know.


Table of Contents

Preface
I. Exam Objectives
1. XML Web Service Standards
Given XML documents, schemas, and fragments determine whether their syntax and form are correct (according to W3C schema) and whether they conform to the WS-I Basic Profile 1.1.
Describe the use of XML schema in Java EE Web services.
2. SOAP 1.2 Web Service Standards
List and describe the encoding types used in a SOAP message.
Describe the SOAP Processing and Extensibility Model.
Describe SOAP Message Construct and create a SOAP message that contains an attachment.
3. Describing and Publishing (WSDL and UDDI)
Explain the use of WSDL in Web services, including a description of WSDL's basic elements, binding mechanisms and the basic WSDL operation types as limited by the WS-I Basic Profile 1.1.
Describe how WSDL enables one to separate the description of the abstract functionality offered by a service from concrete details of a service description such as "how" and "where" that functionality is offered.
Describe the Component Model of WSDL including Descriptions, Interfaces, Bindings, Services and Endpoints.
Describe the basic functions provided by the UDDI Publish and Inquiry APIs to interact with a UDDI business registry.
4. JAX-WS
Explain JAX-WS technology for building web services and client that communicate using XML.
Given a set of requirements for a Web service, such as transactional needs, and security requirements, design and develop Web service applications that use JAX-WS technology.
Describe the Integrated Stack (I-Stack) which consist of JAX-WS, JAXB, StAX, SAAJ.
Describe and compare JAX-WS development approaches.
Describe the features of JAX-WS including the usage of Java Annotations.
Describe the architecture of JAX-WS including the Tools SPI that define the contract between JAX-WS tools and Java EE.
Describe creating a Web Service using JAX-WS.
Describe JAX-WS Client Communications Models.
Given a set of requirements, design and develop a Web service client, such as a Java EE client and a stand-alone client, using JAX-WS.
Given a set of requirements, create and configure a Web service client that accesses a stateful Web service.
5. REST, JSON, SOAP and XML Processing APIs (JAXP, JAXB and SAAJ)
Describe the characteristics of REST Web Services.
Describe the characteristics of JSON Web Services.
Compare SOAP web services to REST Web Services.
Compare SOAP web services to JSON Web Services.
Describe the functions and capabilities of the APIs included within JAXP.
Describe the functions and capabilities of JAXB, including the JAXB process flow, such as XML-to-Java and Java-to-XML, and the binding and validation mechanisms provided by JAXB.
Create and use a SOAP message with attachments using the SAAJ APIs.
6. JAXR
Describe the function of JAXR in Web service architectural model, the two basic levels of business registry functionality supported by JAXR, and the function of the basic JAXR business objects and how they map to the UDDI data structures.
Create JAXR client to connect to a UDDI business registry, execute queries to locate services that meet specific requirements, and publish or update information about a business service.
7. Java EE Web Services
Identify the characteristics of and the services and APIs included in the Java EE platform.
Explain the benefits of using the Java EE platform for creating and deploying Web service applications.
Describe the functions and capabilities of the JAXP, DOM, SAX, StAX, JAXR, JAXB, JAX-WS and SAAJ in the Java EE platform.
Describe the role of the WS-I Basic Profile when designing Java EE Web services.
8. Security
Explain basic security mechanisms including: transport level security, such as basic and mutual authentication and SSL, message level security, XML encryption, XML Digital Signature, and federated identity and trust.
Identify the purpose and benefits of Web services security oriented initiatives and standards such as Username Token Profile, SAML, XACML, XKMS, WS-Security, and the Liberty Project.
Given a scenario, implement Java EE based web service web-tier and/or EJB-tier basic security mechanisms, such as mutual authentication, SSL, and access control.
Describe factors that impact the security requirements of a Web service, such as the relationship between the client and service provider, the type of data being exchanged, the message format, and the transport mechanism.
Describe WS-Policy that defines a base set of constructs that can be used and extended by other Web services specifications to describe a broad range of service requirements and capabilities.
9. Developing Web Services
Describe the steps required to configure, package, and deploy Java EE Web services and service clients, including a description of the packaging formats, such as .ear, .war, .jar, annotations and deployment descriptor settings.
Given a set of requirements, develop code to process XML files using the SAX, StAX, DOM, XSLT, and JAXB APIs.
Given an XML schema for a document style Web service create a WSDL file that describes the service and generate a service implementation.
Given a set of requirements, create code to create an XML-based, document style, Web service using the JAX-WS APIs.
Implement a SOAP logging mechanism for testing and debugging a Web service application using Java EE Web Service APIs.
Given a set of requirements, create code to handle system and service exceptions and faults received by a Web services client.
10. Web Services Interoperability Technologies
Describe WSIT, the features of each WSIT technology and the standards that WSIT Implements for each technology and how it works.
Describe how to create a WSIT client from a Web Service Description Language (WSDL) file.
Describe how to configure web service providers and clients to use message optimization.
Create a Microsoft Windows Communication Foundation (WCF) client that accesses a Java web service.
Describes the best practices for production and consumption of data for interoperability between WCF web services and Java web service clients or between Java web services and WCF web service clients.
11. General Design and Architecture
Describe the characteristics of a service oriented architecture and how Web services fit this model.
Given a scenario, design a Java EE web service using Web Services Design Pattern (Asynchronous Interaction, JMS Bridge, Web Service Cache, Web Service Broker), and Best Practices.
Describe how to handle the various types of return values, faults, errors, and exceptions that can occur during a Web service interaction.
Describe the role that Web services play when integrating data, application functions, or business processes in a Java EE application.
12. Endpoint Design and Architecture
Given a scenario, design Web service applications using information models that are either procedure-style or document-style.
Describe the function of the service interaction and processing layers in a Web service.
Design a Web service for an asynchronous, document-style process and describe how to refactor a Web service from a synchronous to an asynchronous model.
Describe how the characteristics, such as resource utilization, conversational capabilities, and operational modes, of the various types of Web service clients impact the design of a Web service or determine the type of client that might interact with a particular service.
II. Appendices
A. SAAJ 1.1 API
SAAJ 1.1 API
Bibliography
Professional hosting     Belorussian informational portal         Free SCWCD 1.4 Study Guide     Free SCDJWS 1.4 Study Guide     SCDJWS 1.4 Quiz     Free IBM Certified Associate Developer Study Guide     IBM Test 000-287. Enterprise Application Development with IBM WebSphere Studio, V5.0 Study Guide     SCDJWS 5.0 Quiz


webhosting provided by ixvar inc