Objectives of the training
At the end of the course, the participant will know how to develop and integrate Java web services in a distributed environment. They will master the essential standards for publishing, consuming, and making web services interact.Targeted audience
Developers and project managers who need to implement Web Services in the Java domainPrerequisite
Basic knowledge of XML and experience in Java developmentTrainers
Benefits for Participants
• Specify, develop, deploy, and administer JAX-WS and SAAJ web services
• Create clients for web services with JAX-WS
• Create and deploy web services from WSDL
• Develop synchronous and asynchronous clients for web services in Java
• Provide RESTful web services for AJAX
• Secure web services optimally
Course architecture
Introduction: SOA Architecture and Web Services
• The 5 characteristics of SOA
• The 7 building blocks of an SOA architecture
• Relationship between SOA and Web Services
• Main Web Services technologies: HTTP, XML, SOAP, WSDL, UDDI
XML in Java
• XML syntax and namespaces
• XML description with schemas
• Parameter conversion and deconversion with JAXB
• Customizing XML-Java bindings
• XML manipulation with SAX, DOM, and StaX APIs
SOAP Messages
• Role of SOAP in web services
• Structure of SOAP messages
• SOAP-ENV, Header, Body, Attachment
• Operation, messages, and errors
Interface with WSDL
• Role of WSDL in Web Services
• 5 key sections of a WSDL document
• Description of the contract/interfaces/operations in the portType section
• Understanding “abstract” sections: messages, types
• Understanding “concrete” sections: binding, services
• Specification of service implementation (service)
• Specification of message exchange protocol (Binding)
Web Services Governance Solutions
• Governance: Compliance with SOA architecture
• Compliance with WSI (Web Service Interoperability) standards
• Integration of proxies and adapters
• Implementing a Web service endpoint with JAX-WS
• Customizing JAX-WS web services
• Deploying a Web service WAR file
• Intercepting traffic between web services and clients
• Optimizing message transmission
Developing SOAP Web Services in Java 6
• Creating WS from WSDL (WSDL-first) or from code (code-first)?
• Using the “high-level” JAX-WS API
• Using the “low-level” SAAJ API
• Validating Web Service compliance with WS-I standards
• WS-I tools: Analyzer, Monitor
• Creating interceptors (Handler) on the web service and client side
• Optimizing message transmission with MTOM
Developing SOAP Web Services with Frameworks/IDEs
• Added value of Web Services frameworks
• Overview of frameworks: CXF, AXIS, METRO, Jboss WS
• Validating WS compliance with WS-I
• Creating Web Services WAR deliverables
• Creating EJB Session type Web Services deliverables
• Creating interceptors (Handler) on the web service and client side
• Wizards for creating and testing Web Services in Eclipse and Netbeans
Web Services Clients
• Accessing Web Services via WDSDL
• Creating client source files from WSDL
• Customizing generated source files through JAX-WS
• Creating notification services and clients (one-way)
• Writing multithreading clients
• Intercepting and modifying SOAP messages
REST Approach
• Developing RESTful web services with JAX-WS
• Characteristics of annotated POJOs, HTTP, XML/JSON
• Creating client-side interactivity
• Invoking web services through the Dispatch API
• Processing received XML messages
• Security delegated to transport
• Developing REST with the Jersey Framework
SOAP/REST comparison
• Interoperability
• Specifications
• Security
• Transport
• Governance
Pedagogical details
Type of training
Private or personalized training
Do you have several employees interested in the same training course? Whether in person at your offices or remotely in virtual mode, we offer private training courses tailored to your team's needs. Group rates are available. Contact us for more details or request a quote online.
Request a quotePrivate or personalized training
Do you have several employees interested in the same training course? Whether in person at your offices or remotely in virtual mode, we offer private training courses tailored to your team's needs. Group rates are available. Contact us for more details or request a quote online.
Request a quote