933 formations: TIC

ABIS

Distributed applications with Java EE: JAX-RS & JAX-WS

  • par ABIS
En ligne
2.487

During this training, we will learn the how to create web service (SOAP and REST API) via the standard Java/Jakarta EE frameworks JAX-RS and JAX-WS. In this three-day ABIS course, we will study the fundamental ingredients of the frameworks, as well as how it simplifies the development of APIs in Java.

The use of web services offers the opportunity for integration of applications on different platforms. Java EE supports traditional web services, based on XML and SOAP, as well as RESTful services (APIs).

The main focus will be on the REST APIs. Additional aspects on error handling and security are discussed as well.

Both Jersey and RESTeasy could be used as the JAX-RS implementation.

This course explains how to:

  • implement a service oriented architecture (SOA) in Java EE.
  • creating RESTful services (APIs)
  • using APIs in a browser or in a Java client
  • building classic web services, using WSDL (Web Services Description Language)

  • Introduction to web services and APIs
    • Distributed Applications
    • SOAP and WSDL
    • RESTful services (APIs)
    • XML and/vs. JSON
    • Java Web Services APIs and Frameworks: JAX-RS and JAX-WS implementations
  • JAX-RS
    • Setting up a JAX-RS application with Maven
    • Testing with SoapUI and Postman
    • REST API terminology and good practices
    • JAX-RS annotations: HTTP methods, request parameters, providers,...
    • Extra JSON mapping options
    • Producing and consuming XML
  • Creating Java REST clients
    • Calling the API methods: get/post/put/delete
  • REST Exception Handling
    • HTTP status codes
    • ResponseBuilder and Response class
    • Exception Handling in API and client with WebApplicationException and ExceptionMapper
  • Securing REST APIs
    • API keys
    • HTTP and digest authentication
    • Authorisation
  • Creating Classic Soap Services with JAX-WS
    • Creating a JAX-WS web service using annotations
    • Access a web service from a Java component, using SOAP
    • JAX-WS Exception Handling

Classroom instruction with exercises.

Delivered as a live, interactive training: available in-person or online, or in a hybrid format. Training can be implemented in English, Dutch, or French.

One should be familiar with the concepts of web services (see course Distributed applications: APIs and web services). Moreover, a thorough knowledge of Java (see course Java programming) and basic knowledge of XML (see course XML concepts) is required.

En ligne € 2.487(TVA incluse) S'inscrire

Application developers who are going to implement and use web services, based on the Java EE platform.