Curso Developing SOAP Web Services in Java
40hVisão Geral
Você precisa de uma visão abrangente do estado da arte no desenvolvimento de serviços da Web interoperáveis na plataforma Java EE 6? você aprenderá os principais padrões -- SOAP, WSDL e o WS-I Basic Profile -- e a arquitetura Java que evoluiu para construir serviços e clientes interoperáveis.
O desenvolvimento de Serviços Web SOAP em Java se concentra em fornecer uma compreensão das tecnologias fundamentais usadas em serviços Web. Essa compreensão é fundamental para poder diagnosticar, solucionar problemas, ajustar e executar outras atividades do ciclo de vida relacionadas aos serviços da Web.
Objetivo
Após a conclusão deste curso, você será capaz de:
- Compreender e aplicar os conceitos básicos de SOA para a identificação e design de serviços web
- Entenda e discuta de forma inteligente os Web Services e as principais tecnologias envolvidas
- Compreender e aplicar os conceitos básicos de SOA para a identificação e design de serviços web
- Aprecie o conceito de serviços em camadas, incluindo orquestração
- Entenda e discuta de forma inteligente os Web Services e as principais tecnologias envolvidas
- Projete, desenvolva e implante serviços Web J2EE do mundo real
- Expor componentes Java existentes como XML Web Services
- Escreva componentes Java que acessam Web Services remotos
- Ler e entender um documento WSDL
- Analisar, processar e responder a uma mensagem SOAP
- Entenda os conceitos por trás do REST e implemente um serviço web baseado em REST
- Implemente manipuladores para injetar soluções transversais para segurança, registro, auditoria e outras necessidades
- Trabalhe com o WS-Security para proteger conteúdo, recursos e outros ativos
Publico Alvo
- Desenvolvedores e arquitetos Java que precisam identificar, projetar e implementar serviços da Web.
Pre-Requisitos
- Fortes habilidades de programação Java são essenciais. Os alunos devem ser capazes de ler documentos XML e escrever XML bem formado. O conhecimento do XML Schema também será útil, mas não é um pré-requisito estrito. A experiência com outros padrões Java EE, especialmente servlets e JSP, será muito útil em aula, mas não é estritamente necessária.
Informações Gerais
Carga Horária: 40h
- Se noturno este curso é
ministrado de Segunda-feira à sexta-feira, das 19h às 23h
- Se aos sábados este curso é
ministrado das 9h às 18h
- Se in-company por favor
fazer contato para mais detalhes.
Formato de
entrega:
- 100% on-line ao vivo, via
Microsoft Teams na presença de um instrutor/consultor ativo no mercado.
- Nota: não é curso
gravado.
Lab:
- Laboratório + Exercícios
práticos
Materiais
Português | InglêsConteúdo Programatico
Overview of Web Services
- Why Web Services?
- Service-Oriented Architecture
- HTTP and XML
- SOAP
- WSDL
- The SOAP Vision
- The REST Vision
- UDDI
- The WS-I Basic Profile
- Security
Web Services for Java EE
- Hosting Web Services: Scenarios
- Web Services for Java EE
- JAX-WS and JAXB
- Web-Services Metadata
- WSDL-to-Java and Java-to-WSDL Paths
- Provider and Dispatch APIs
- SAAJ and JAXP
- JAX-RS for RESTful Services
- JAXR
The Java API for XML Binding
- The Need for Data Binding
- XML Schema
- Two Paths
- JAXB Compilation
- Mapping Schema Types to Java
- Java-to-XML Mapping Using Annotations
- Marshaling and Unmarshaling
- Working with JAXB Object Models
The Simple Object Access Protocol
- Messaging Model
- Namespaces
- SOAP over HTTP
- The SOAP Envelope
- The Message Header
- The Message Body
- SOAP Faults
- Attachments
Web Services Description Language
- Web Services as Component-Based Software
- The Need for an IDL
- Web Services Description Language
- WSDL Information Model
- The Abstract Model -- Service Semantics
- Message Description
- Messaging Styles
- The Concrete Model -- Ports, Services, Locations
- Extending WSDL -- Bindings
- Service Description
The Java API for XML-Based Web Services
- Two Paths
- How It Works: Build Time and Runtime
- The Service Endpoint Interface
- Working from WSDL
- Working from Java
- RPC and Document Styles
- One-Way Messaging
- Binary Protocols
WSDL-to-Java Development
- The @WebService Annotation
- Generated Code
- Scope of Code Generation
- Parameter Order
- More JAXB: Mapping Collections
- More JAXB: Mapping Enumerations
- Applying JAXB Customizations
Client-Side Development
- Stubs and Proxies
- Generated Code
- Locating a Service
- Invoking a Service
- The @WebServiceRef Annotation
Java-to-WSDL Development
- Generating the WSDL and Schema
- The @WebMethod, @XmlParam, and Related Annotations
- More JAXB: Mapping Inheritance
- Controlling the XML Model
- Controlling the WSDL Description
- JAXB Customizations with @XmlJavaTypeAdapter
Exception Handling
- SOAP Faults vs. Java Exceptions
- Mapping Faults from WSDL
- Mapping Exceptions from Java
- JAX-WS Exception API and Handling
- Client Exception Handling
JAX-WS Best Practices
- Which Way to Go?
- Interoperability Impact
- Portability Impact
- Polymorphism in Web Services
- Web Services as Java EE Components
- Lifecycle Annotations
- Context Interfaces
Metadata
- Abstract and Concrete Model Metadata
- Defaults
- Annotations
- webservices.xml and web.xml
- Best Practices and Pitfalls
Provider and Dispatch APIs
- Stepping Down
- The @WebServiceProvider Annotation
- The Provider<T> Interface
- Implementing a Provider
- The @ServiceMode Annotation
- JAXB Without WSDL
- Integrating JAXP
- The Dispatch<T> Interface
- Building Clients
The SOAP with Attachments API for Java
- The SAAJ Object Model
- Parsing a SOAP Message
- Reading Message Content
- Working with Namespaces
- Creating a Message
- Setting Message Content
- Relationship to the DOM
Message Handlers
- Handling SOAP Headers
- Handlers and Handler Chains
- Configuration by XML or Annotation
- MessageContext and SOAPMessageContext
- Processing Model and Patterns
- Logical and Protocol Handlers
- Client-Side Handlers
Handling Binary Content
- The WS-I Attachments Profile
- Using base64Binary
- MTOM and XOP
- JAX-WS Support
- Configuration by XML or Annotation
- Client-Side Support
- SAAJ Support