Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Java EE 7: Web Services

via LinkedIn Learning

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

Reviews

4.6 rating at LinkedIn Learning based on 7 ratings

Start your review of Java EE 7: Web Services

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.