YoVDO

Java EE 7: Web Services

Offered By: LinkedIn Learning

Tags

Jakarta EE Courses XML Courses HTTP Methods Courses Java EE Courses SOAP Courses

Course Description

Overview

Learn how to use Jakarta Web Services to build, finetune, and run RESTful APIs.

Syllabus

Introduction
  • Jakarta Web Services: Integrating applications over the internet
  • What you should know
1. Web Services: What? and Why?
  • What is a web service?
  • Why are web services needed?
  • APIs, web services, and endpoints
2. Web Services in Jakarta EE
  • REST and SOAP
  • XML/SOAP-based vs. RESTful web services
  • RESTful and XML/SOAP-based web service use cases
  • History of web services: From Java EE to Jakarta EE
  • What's new in Jakarta EE for web services?
  • The cloud-native focus in Jakarta web services
3. Set the Stage to Build a REST API
  • CRUD and HTTP methods
  • Create and configure a basic web application
  • Configure Jakarta RESTful Web Services
  • Add a Resource class
4. Build the REST API for the Read Action
  • Implement resource method for reading: HTTP GET
  • Use path parameters
  • Use query parameters
  • Explore response value types: Media types
  • Media types in action
  • ResponseBuilder and methods
  • Control the response via ResponseBuilder
  • Challenge: Travel app
  • Solution: Travel app
5. Build the REST API for Create, Update, and Delete Actions
  • Use HTTP POST for the CREATE action
  • Use HTTP PUT for the UPDATE action
  • Use HTTP DELETE for the DELETE action
  • Challenge: Travel app
  • Solution: Travel app
6. Fine-Tune Your Jakarta RESTful Web Services
  • Validate your REST endpoints
  • Perform single field validations in REST
  • Perform custom validations in REST
  • Handle exceptions in REST endpoints
  • Implement security in REST endpoints
7. RESTful Applications in the Java SE Environment
  • The Java SE bootstrap API
  • Create and configure the Java SE app
  • Build the RESTful application
  • Run the application and test the endpoint
Conclusion
  • Next steps

Taught by

Kesha Williams

Related Courses

Java EE: RESTful Service with JAX-RS 2.0
LinkedIn Learning