Web services development with Java EE
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)
Schedule a training?
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.
REQUEST IN-COMPANY TRAINING |
Public training calendar
No public sessions are currently scheduled. We will be pleased to set up an on-site course or to schedule an extra public session (in case of a sufficient number of candidates). Interested? Please let us know.
Intended for
Application developers who are going to implement and use web services, based on the Java EE platform.
Background
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.
You can test for yourself to see if you have enough background by filling out the on-line self-test "XML concepts" and the on-line self-test "Java".
Main topics
- 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
Training method
Classroom instruction with exercises.
Certificate
At the end of the course session, the participant receives a 'Certificate of Completion'.
Duration
3 days.
Course leader
Sandy Schillebeeckx (ABIS).
SESSION INFO AND ENROLMENT |